OSDN Git Service

Add full backup criteria to android manifest
authorMatthew Williams <mjwilliams@google.com>
Sat, 18 Apr 2015 01:22:51 +0000 (18:22 -0700)
committerMatthew Williams <mjwilliams@google.com>
Sun, 3 May 2015 23:19:27 +0000 (16:19 -0700)
commit303650c9cdb7cec88e7ec20747b161d9fff10719
tree310f95b0e6ff91830cebfdc015ee158015fc5d27
parentca030f8ed5fd52f2821d159b9c16d0c514dc0688
Add full backup criteria to android manifest

BUG: 20010079
Api change: ApplicationInfo now has a fullBackupContent int
where -1 is (off) 0 is (on) and >0 indicates an xml
resource that should be parsed in order for a developer
to indicate exactly which files they want to include/exclude
from the backup set.
dd: https://docs.google.com/document/d/1dnNctwhWOI-_qtZ7I3iNRtrbShmERj2GFTzwV4xXtOk/edit#heading=h.wcfw1q2pbmae

Change-Id: I90273dc0aef5e9a3230c6b074a45e8f5409ed5ce
api/current.txt
api/system-current.txt
core/java/android/app/backup/BackupAgent.java
core/java/android/app/backup/FullBackup.java
core/java/android/content/pm/ApplicationInfo.java
core/java/android/content/pm/PackageParser.java
core/res/res/values/attrs_manifest.xml
core/res/res/values/public.xml
core/tests/coretests/src/android/app/backup/FullBackupTest.java [new file with mode: 0644]
packages/SharedStorageBackup/src/com/android/sharedstoragebackup/SharedStorageAgent.java
services/backup/java/com/android/server/backup/BackupManagerService.java