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

Unified Diff: chrome/android/java/AndroidManifest.xml

Issue 2786283002: [Android] Add a transparent Activity in Chrome to handle Browser Action Intent (Closed)
Patch Set: Update base on Ted's comments. Created 3 years, 8 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/AndroidManifest.xml
diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
index 2f2c10b542e35502c23696365fd7d286db3f3f11..5f0ed360b01fc7de0dd22bacb57ee505ecdc111e 100644
--- a/chrome/android/java/AndroidManifest.xml
+++ b/chrome/android/java/AndroidManifest.xml
@@ -604,6 +604,21 @@ by a child template that "extends" this file.
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize" >
</activity>
+ <!-- Activities for Browser Actions -->
+ {% if channel in ['default'] %}
+ <activity android:name="org.chromium.chrome.browser.browseractions.BrowserActionActivity"
+ android:theme="@style/FullscreenTransparentActivityTheme"
+ android:exported="true"
+ android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize">
+ <intent-filter>
+ <action android:name="android.support.customtabs.browseractions.browser_action_open" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <data android:scheme="http" />
+ <data android:scheme="https" />
+ </intent-filter>
+ </activity>
+ {% endif %}
+
<!-- Service for Broadcasting a Physical Web URL -->
<service
android:name="org.chromium.chrome.browser.physicalweb.PhysicalWebBroadcastService"

Powered by Google App Engine
This is Rietveld 408576698