summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Miller <paulmiller@google.com>2015-05-04 18:52:13 (GMT)
committerPaul Miller <paulmiller@google.com>2015-05-04 18:55:27 (GMT)
commit52282cc66ff382abde37f0831d7f0003f1f3a657 (patch)
treefb7e7484ca3b8fbbaea4de0b98a223a297e06190
parent1f173339712ea0574bb7d3433d6eef1319969eee (diff)
downloadandroid_packages_providers_BookmarkProvider-52282cc66ff382abde37f0831d7f0003f1f3a657.zip
android_packages_providers_BookmarkProvider-52282cc66ff382abde37f0831d7f0003f1f3a657.tar.gz
android_packages_providers_BookmarkProvider-52282cc66ff382abde37f0831d7f0003f1f3a657.tar.bz2
Add sync permissions to prevent crash
Cherry-pick of 23fa1758e81057af1be92fdf86f8a5ec714e75fd from master Change-Id: I71f91807a272fe99a2a5709e8d0ce32366c7a78e
-rw-r--r--AndroidManifest.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index fd27389..558cd7e 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -15,7 +15,12 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.bookmarkprovider">
+ <!-- Required for getAccountsByType, getAccounts -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
+ <!-- Required for getIsSyncable -->
+ <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
+ <!-- Required for setIsSyncable, setSyncAutomatically -->
+ <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
<application android:label="@string/application_name"
android:icon="@mipmap/ic_launcher_shortcut_browser_bookmark" >