summaryrefslogtreecommitdiffstats
path: root/packages/SettingsProvider/AndroidManifest.xml
diff options
context:
space:
mode:
authorChristopher Tate <ctate@android.com>2009-08-13 15:13:03 -0700
committerChristopher Tate <ctate@android.com>2009-08-13 15:15:55 -0700
commit0749dcd19301fe4093f9cf8677c722d17bceabfb (patch)
tree47d8c3c6a33915475b99ce1d233d398365a38f72 /packages/SettingsProvider/AndroidManifest.xml
parent763101efcdcf306142af891f98eaaa971e6edaf0 (diff)
downloadframeworks_base-0749dcd19301fe4093f9cf8677c722d17bceabfb.zip
frameworks_base-0749dcd19301fe4093f9cf8677c722d17bceabfb.tar.gz
frameworks_base-0749dcd19301fe4093f9cf8677c722d17bceabfb.tar.bz2
Backup participants must now hold the BACKUP_DATA permission
Packages that do not use android.permission.BACKUP_DATA will neither be backed up nor restored. That permission is currently signature-only. In the future if access to the backup/restore infrastructure is made available to arbitrary 3rd party applications, the permission checks (and indeed, the permission itself) can simply be removed.
Diffstat (limited to 'packages/SettingsProvider/AndroidManifest.xml')
-rw-r--r--packages/SettingsProvider/AndroidManifest.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SettingsProvider/AndroidManifest.xml b/packages/SettingsProvider/AndroidManifest.xml
index d84572b..af0a1bd 100644
--- a/packages/SettingsProvider/AndroidManifest.xml
+++ b/packages/SettingsProvider/AndroidManifest.xml
@@ -2,6 +2,8 @@
package="com.android.providers.settings"
android:sharedUserId="android.uid.system">
+ <uses-permission android:name="android.permission.BACKUP_DATA" />
+
<application android:allowClearUserData="false"
android:label="@string/app_label"
android:process="system"