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

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

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
Index: chrome/android/shell/java/AndroidManifest.xml.jinja2
diff --git a/chrome/android/shell/java/AndroidManifest.xml.jinja2 b/chrome/android/shell/java/AndroidManifest.xml.jinja2
index babbee6ecc866c884793188d97ef74f1423b718f..6b48717c13bd8d988a39822e69c3464139fa5f41 100644
--- a/chrome/android/shell/java/AndroidManifest.xml.jinja2
+++ b/chrome/android/shell/java/AndroidManifest.xml.jinja2
@@ -162,14 +162,14 @@
</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>
<provider android:name="org.chromium.chrome.browser.ChromeBrowserProvider"
android:authorities="org.chromium.chrome.shell"

Powered by Google App Engine
This is Rietveld 408576698