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

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

Issue 1324173002: [Background Sync] Use GcmNetworkManager to start the browser for sync events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@bgsync-fix-background5
Patch Set: Update remaining AndroidManifest.xml templates Created 5 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
« no previous file with comments | « no previous file | chrome/android/shell/java/AndroidManifest.xml.jinja2 » ('j') | content/content.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/AndroidManifest.xml
diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
index 3974442fc31fec74a59d4c0eb7f67437418616ee..ee06c7a7c1f5bc70a90de78fdf9c55b43c22fbe4 100644
--- a/chrome/android/java/AndroidManifest.xml
+++ b/chrome/android/java/AndroidManifest.xml
@@ -44,6 +44,7 @@ by a child template that "extends" this file.
<uses-permission android:name="android.permission.NFC"/>
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
<uses-permission android:name="android.permission.READ_SYNC_STATS"/>
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
jkarlin 2015/09/02 18:16:36 Is this needed?
iclelland 2015/09/02 20:04:48 Yes, in order to be triggered by the GcmNetworkMan
jkarlin 2015/09/03 11:11:57 It should be in all of the manifests then.
iclelland 2015/09/03 15:52:06 Done.
Yaron 2015/09/24 16:13:17 Is that only for M+ or in all cases? I see it isn'
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.USE_CREDENTIALS"/>
<uses-permission android:name="android.permission.VIBRATE"/>
@@ -551,14 +552,14 @@ by a child template that "extends" this file.
</intent-filter>
</receiver>
- <!-- Service Worker Background Sync service listener -->
+ <!-- Service Worker Background Sync GCM scheduler task -->
<service android:name="org.chromium.content.browser.BackgroundSyncLauncherService"
- android:exported="false" />
- <receiver android:name="org.chromium.content.browser.BackgroundSyncLauncherService$Receiver">
+ android:permission="com.google.android.gms.permission.BIND_NETWORK_TASK_SERVICE"
+ android:exported="true">
<intent-filter>
- <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
+ <action android:name="com.google.android.gms.gcm.ACTION_TASK_READY" />
</intent-filter>
- </receiver>
+ </service>
<service android:name="org.chromium.chrome.browser.prerender.ChromePrerenderService"
android:exported="true"
« no previous file with comments | « no previous file | chrome/android/shell/java/AndroidManifest.xml.jinja2 » ('j') | content/content.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698