diff options
author | Christopher Tate <ctate@android.com> | 2009-08-13 15:13:03 -0700 |
---|---|---|
committer | Christopher Tate <ctate@android.com> | 2009-08-13 15:15:55 -0700 |
commit | 0749dcd19301fe4093f9cf8677c722d17bceabfb (patch) | |
tree | 47d8c3c6a33915475b99ce1d233d398365a38f72 /tests/backup | |
parent | 763101efcdcf306142af891f98eaaa971e6edaf0 (diff) | |
download | frameworks_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 'tests/backup')
-rw-r--r-- | tests/backup/AndroidManifest.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/backup/AndroidManifest.xml b/tests/backup/AndroidManifest.xml index 3778742..d992627 100644 --- a/tests/backup/AndroidManifest.xml +++ b/tests/backup/AndroidManifest.xml @@ -1,5 +1,6 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.backuptest"> + <uses-permission android:name="android.permission.BACKUP_DATA" /> <application android:backupAgent="BackupTestAgent"> <activity android:name="BackupTestActivity" android:label="_BackupTest"> <intent-filter> |