Skip to content

Commit 72a0e14

Browse files
committed
Support backgrounding browser during sign in on Android 10 and below
1 parent b4cc8b1 commit 72a0e14

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

firebase-appdistribution/src/main/java/com/google/firebase/appdistribution/TesterSignInManager.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,11 @@ private void openSignInFlowInBrowser(String fid, Activity activity) {
215215
// If we can launch a chrome view, try that.
216216
CustomTabsIntent customTabsIntent = new CustomTabsIntent.Builder().build();
217217
Intent intent = customTabsIntent.intent;
218-
intent.addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
219218
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
220219
customTabsIntent.launchUrl(activity, uri);
221220
} else {
222221
// If we can't launch a chrome view try to launch anything that can handle a URL.
223222
Intent browserIntent = new Intent(Intent.ACTION_VIEW, uri);
224-
browserIntent.addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
225223
browserIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
226224
activity.startActivity(browserIntent);
227225
}

0 commit comments

Comments
 (0)