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

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

Issue 2062083002: Implements the Lightweight First Run Experience (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format Created 4 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
Index: chrome/android/java/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java
index f1ca36c7e2d422e4508aa9543fd082d9582866a3..129bf38aac3003983e0d0bddf5bfa4bfd92d48e8 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java
@@ -487,8 +487,9 @@ public class ChromeLauncherActivity extends Activity
private boolean launchFirstRunExperience() {
final boolean isIntentActionMain = getIntent() != null
&& TextUtils.equals(getIntent().getAction(), Intent.ACTION_MAIN);
- final Intent freIntent = FirstRunFlowSequencer.checkIfFirstRunIsNecessary(
- this, isIntentActionMain);
+ final Intent freIntent =
+ FirstRunFlowSequencer.checkIfFirstRunIsNecessary(this, isIntentActionMain,
+ IntentHandler.determineExternalIntentSource(getPackageName(), getIntent()));
Bernhard Bauer 2016/06/16 16:35:36 You pass this to checkIfFirstRunIsNecessary() ever
gogerald1 2016/06/16 18:59:20 Done.
if (freIntent == null) return false;
if ((getIntent().getFlags() & Intent.FLAG_ACTIVITY_NEW_TASK) != 0) {

Powered by Google App Engine
This is Rietveld 408576698