Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/upgrade/UpgradeActivity.java

Issue 2011433003: [Hera] Excise a bunch of document mode code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deprecate histograms, clean up another unused one. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/upgrade/UpgradeActivity.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/upgrade/UpgradeActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/upgrade/UpgradeActivity.java
index f5242a23bfd14cc446b39a9a2bc99bf3ce672f63..72b13c9f8772fb38ea54fd32fcbaf16bf0118e2e 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/upgrade/UpgradeActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/upgrade/UpgradeActivity.java
@@ -42,7 +42,7 @@ public class UpgradeActivity extends AppCompatActivity {
public static void launchInstance(Activity activity, Intent originalIntent) {
Intent intent = new Intent();
intent.setClass(activity, UpgradeActivity.class);
- intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
+ intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
intent.putExtra(UpgradeActivity.EXTRA_INTENT_TO_REFIRE, originalIntent);
activity.startActivity(intent);
activity.overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out);

Powered by Google App Engine
This is Rietveld 408576698