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

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

Issue 1989283002: Upstream: Launch WebApkActivity from WebAPK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits. 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/AndroidManifest.xml
diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
index 858b3f3da8dc2df40f1ff8bec89a900d40868958..323901c6df4f0ac9d5bec1ffa5302c0f21e28354 100644
--- a/chrome/android/java/AndroidManifest.xml
+++ b/chrome/android/java/AndroidManifest.xml
@@ -410,6 +410,30 @@ by a child template that "extends" this file.
android:label="@string/webapp_activity_title">
</activity-alias>
{% endfor %}
+ <!-- Activities for WebAPKs. -->
+ <activity android:name="org.chromium.chrome.browser.webapps.WebApkActivity"
+ android:theme="@style/WebappTheme"
+ android:label="@string/webapp_activity_title"
+ android:launchMode="singleTop"
+ android:documentLaunchMode="intoExisting"
+ android:windowSoftInputMode="adjustResize"
+ android:persistableMode="persistNever"
+ android:hardwareAccelerated="false"
+ android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize">
+ </activity>
+ {% for i in range(10) %}
+ <activity android:name="org.chromium.chrome.browser.webapps.WebApkActivity{{ i }}"
+ android:theme="@style/WebappTheme"
+ android:icon="@mipmap/app_shortcut_icon"
+ android:label="@string/webapp_activity_title"
+ android:launchMode="singleTask"
+ android:windowSoftInputMode="adjustResize"
+ android:persistableMode="persistNever"
+ android:hardwareAccelerated="false"
+ android:taskAffinity="{{ manifest_package }}.webapps.WebApkActivity{{ i }}"
+ android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize">
+ </activity>
+ {% endfor %}
<activity android:name="org.chromium.chrome.browser.media.remote.ExpandedControllerActivity"
android:theme="@style/MainTheme"

Powered by Google App Engine
This is Rietveld 408576698