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

Unified Diff: chrome/android/java_staging/src/org/chromium/chrome/browser/document/DocumentMigrationHelper.java

Issue 1203493005: Add NEW_DOCUMENT to intents for document migration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java_staging/src/org/chromium/chrome/browser/document/DocumentMigrationHelper.java
diff --git a/chrome/android/java_staging/src/org/chromium/chrome/browser/document/DocumentMigrationHelper.java b/chrome/android/java_staging/src/org/chromium/chrome/browser/document/DocumentMigrationHelper.java
index 764dcaede7f4efdf6c8884b377708632d0e2afe4..490e915598bbbaf7bbb1e4c0f97ee87845ba5390 100644
--- a/chrome/android/java_staging/src/org/chromium/chrome/browser/document/DocumentMigrationHelper.java
+++ b/chrome/android/java_staging/src/org/chromium/chrome/browser/document/DocumentMigrationHelper.java
@@ -434,6 +434,7 @@ public class DocumentMigrationHelper {
DocumentTabModelSelector.createDocumentDataString(tabId, currentUrl));
intent.setClassName(activity, ChromeLauncherActivity.getDocumentClassName(false));
intent.putExtra(IntentHandler.EXTRA_PRESERVE_TASK, true);
+ intent.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
ActivityManager am =
(ActivityManager) activity.getSystemService(Activity.ACTIVITY_SERVICE);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698