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

Unified Diff: chrome/android/webapk/shell_apk/AndroidManifest.xml

Issue 2169743002: Makes WebAPK handle NOTIFICATION_PREFERENCES intents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into notification_settings Created 4 years, 5 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 | chrome/android/webapk/shell_apk/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/webapk/shell_apk/AndroidManifest.xml
diff --git a/chrome/android/webapk/shell_apk/AndroidManifest.xml b/chrome/android/webapk/shell_apk/AndroidManifest.xml
index 14e2062a22b78c210471d1e2f8aefc7b187fed90..893f031f06830e03926b715a11a10149a568d4eb 100644
--- a/chrome/android/webapk/shell_apk/AndroidManifest.xml
+++ b/chrome/android/webapk/shell_apk/AndroidManifest.xml
@@ -30,7 +30,15 @@
<data android:scheme="https" android:host="{{ scope_url_host }}" android:pathPrefix="/"></data>
</intent-filter>
</activity>
+ <activity android:name="org.chromium.webapk.shell_apk.NotificationSettingsLauncherActivity">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.NOTIFICATION_PREFERENCES"/>
+ </intent-filter>
+ </activity>
<meta-data android:name="runtimeHost" android:value="{{ runtime_host }}" />
+ <meta-data android:name="hostNotificationPreferencesHandler"
Yaron 2016/07/25 14:28:27 I'm thinking that it would be nice to limit the nu
pkotwicz 2016/07/25 18:23:25 I changed the intent to be sent solely to the brow
+ android:value="{{ host_notification_preferences_handler }}" />
<meta-data android:name="startUrl" android:value="{{ start_url }}" />
<meta-data android:name="name" android:value="{{ name }}" />
<meta-data android:name="scope" android:value="{{ scope_url }}" />
« no previous file with comments | « no previous file | chrome/android/webapk/shell_apk/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698