Skip to content

Commit

Permalink
[Chromium] Remove Mozilla accounts from UI
Browse files Browse the repository at this point in the history
In particular do not show neither the accounts settings dialog on the
first run and also hide the accounts setup button in the Settings.

We had to disable it for the beta release because the login page does
not load properly with a non-Gecko engine because the Mozilla AC try
to inject a Gecko extension to perform some actions. As we don't have
extensions support yet, the page fails to load.
  • Loading branch information
svillar committed Apr 9, 2024
1 parent 2257241 commit 4278403
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ SettingsStore getInstance(final @NonNull Context aContext) {
public final static boolean BOOKMARKS_SYNC_DEFAULT = true;
public final static boolean LOGIN_SYNC_DEFAULT = true;
public final static boolean HISTORY_SYNC_DEFAULT = true;
public final static boolean WHATS_NEW_DISPLAYED = false;
public final static boolean WHATS_NEW_DISPLAYED = true;
public final static long FXA_LAST_SYNC_NEVER = 0;
public final static boolean RESTORE_TABS_ENABLED = true;
public final static boolean BYPASS_CACHE_ON_RELOAD = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ public void updateUI() {
}
onDismiss();
});
mBinding.whatsNewButton.setVisibility(View.GONE);

mCurrentView = null;
}
Expand Down Expand Up @@ -369,6 +370,7 @@ private void updateCurrentAccountState() {
updateProfile(mAccounts.accountProfile());
break;
}
mBinding.fxaButton.setVisibility(View.GONE);
}

private AccountObserver mAccountObserver = new AccountObserver() {
Expand Down

0 comments on commit 4278403

Please sign in to comment.