mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Merge branch '47-sign-in-reminder' into 'master'
Don't show sign-in reminder if user is signed-in already Closes #47 See merge request briar/briar!872
This commit is contained in:
@@ -51,7 +51,8 @@ public class SignInReminderReceiver extends BroadcastReceiver {
|
||||
if (action == null) return;
|
||||
if (action.equals(ACTION_BOOT_COMPLETED) ||
|
||||
action.equals(ACTION_MY_PACKAGE_REPLACED)) {
|
||||
if (accountManager.accountExists()) {
|
||||
if (accountManager.accountExists() &&
|
||||
!accountManager.hasDatabaseKey()) {
|
||||
SharedPreferences prefs = app.getDefaultSharedPreferences();
|
||||
if (prefs.getBoolean(NOTIFY_SIGN_IN, true)) {
|
||||
showSignInNotification(ctx);
|
||||
|
||||
Reference in New Issue
Block a user