Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fix for the FxA login flow issue (#3040)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored Mar 24, 2020
1 parent ab743d9 commit 4d2e9b3
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@
import androidx.annotation.NonNull;
import androidx.databinding.DataBindingUtil;

import org.mozilla.geckoview.GeckoSessionSettings;
import org.mozilla.vrbrowser.BuildConfig;
import org.mozilla.vrbrowser.R;
import org.mozilla.vrbrowser.VRBrowserActivity;
import org.mozilla.vrbrowser.VRBrowserApplication;
import org.mozilla.vrbrowser.audio.AudioEngine;
import org.mozilla.vrbrowser.browser.Accounts;
Expand All @@ -38,7 +36,6 @@
import org.mozilla.vrbrowser.db.SitePermission;
import org.mozilla.vrbrowser.telemetry.GleanMetricsService;
import org.mozilla.vrbrowser.ui.widgets.UIWidget;
import org.mozilla.vrbrowser.ui.widgets.WidgetManagerDelegate;
import org.mozilla.vrbrowser.ui.widgets.WidgetPlacement;
import org.mozilla.vrbrowser.ui.widgets.WindowWidget;
import org.mozilla.vrbrowser.ui.widgets.dialogs.RestartDialogWidget;
Expand Down Expand Up @@ -311,8 +308,6 @@ private void manageAccount() {
} else {
mAccounts.setLoginOrigin(Accounts.LoginOrigin.SETTINGS);
mWidgetManager.openNewTabForeground(url);
WidgetManagerDelegate widgetManager = ((VRBrowserActivity)getContext());
widgetManager.getFocusedWindow().getSession().setUaMode(GeckoSessionSettings.USER_AGENT_MODE_MOBILE);
GleanMetricsService.Tabs.openedCounter(GleanMetricsService.Tabs.TabSource.FXA_LOGIN);
}

Expand Down

0 comments on commit 4d2e9b3

Please sign in to comment.