diff options
author | Christopher Tate <ctate@google.com> | 2013-02-19 14:08:59 -0800 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2013-03-07 13:47:20 -0800 |
commit | 46cc43c6fa7623820d4ae9149496cf96bb15f8a3 (patch) | |
tree | fe3a33bcdf0dc82414eb274aedefaef53aace059 /packages/SharedStorageBackup/proguard.flags | |
parent | 32884c376fd06799f46ea3b1ded89ba9d21f8f14 (diff) | |
download | frameworks_base-46cc43c6fa7623820d4ae9149496cf96bb15f8a3.zip frameworks_base-46cc43c6fa7623820d4ae9149496cf96bb15f8a3.tar.gz frameworks_base-46cc43c6fa7623820d4ae9149496cf96bb15f8a3.tar.bz2 |
Full backup/restore now handles OBBs sensibly
OBB backup/ restore is no longer handled within the target app
process. This is done to avoid having to require that OBB-using
apps have full read/write permission for external storage.
The new OBB backup service is a new component running in the
same app as the already-existing shared storage backup agent.
The backup infrastructure delegates backup/restore of apps'
OBB contents to this component (because the system process
may not itself read/write external storage).
From the command line, OBB backup is enabled by using new
-obb / -noobb flags with adb backup. The default is noobb.
Finally, a couple of nit fixes:
- buffer-size mismatch between the writer and reader of chunked
file data has been corrected; now the reading side won't be
issuing an extra pipe read per chunk.
- bu now explicitly closes the transport socket fd after
adopting it. This was benign but triggered a logged
warning about leaked fds.
Bug: 6718844
Change-Id: Ie252494e2327e9ab97cf9ed87c298410a8618492
Diffstat (limited to 'packages/SharedStorageBackup/proguard.flags')
-rw-r--r-- | packages/SharedStorageBackup/proguard.flags | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SharedStorageBackup/proguard.flags b/packages/SharedStorageBackup/proguard.flags index f43cb81..6a66a47 100644 --- a/packages/SharedStorageBackup/proguard.flags +++ b/packages/SharedStorageBackup/proguard.flags @@ -1 +1,2 @@ -keep class com.android.sharedstoragebackup.SharedStorageAgent +-keep class com.android.sharedstoragebackup.ObbBackupService |