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

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

Issue 2359363004: Add a button to OIB to launch an instant app if it exists. (Closed)
Patch Set: Comments Created 4 years, 3 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 799ba6adf2cec0c199dddc718c3fecc40c0002f7..046bdfc67fb86be75e54d620414f9c53a6aec900 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
@@ -203,8 +203,7 @@ public class ChromeLauncherActivity extends Activity
}
// Check if we should launch an Instant App to handle the intent.
- ChromeApplication application = (ChromeApplication) getApplication();
- if (InstantAppsHandler.getInstance(application).handleIncomingIntent(
+ if (InstantAppsHandler.getInstance().handleIncomingIntent(
this, intent, mIsCustomTabIntent)) {
finish();
return;

Powered by Google App Engine
This is Rietveld 408576698