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

Unified Diff: content/shell/android/shell_apk/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: Fix crash caused by zero-length launch window 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: content/shell/android/shell_apk/AndroidManifest.xml.jinja2
diff --git a/content/shell/android/shell_apk/AndroidManifest.xml.jinja2 b/content/shell/android/shell_apk/AndroidManifest.xml.jinja2
index 8a71044487fcb7be29c71ec6ea67f58ccbc83874..900ffe878fde2a19f9fed1a5c88c1a362b2d3a04 100644
--- a/content/shell/android/shell_apk/AndroidManifest.xml.jinja2
+++ b/content/shell/android/shell_apk/AndroidManifest.xml.jinja2
@@ -15,6 +15,7 @@
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
@@ -61,14 +62,14 @@
<meta-data android:name="org.chromium.content.browser.SMART_CLIP_PROVIDER"
android:value="org.chromium.content.browser.SmartClipProvider" />
- <!-- 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>
</application>
</manifest>

Powered by Google App Engine
This is Rietveld 408576698