46cc43c6fa7623820d4ae9149496cf96bb15f8a3 |
|
19-Feb-2013 |
Christopher Tate <ctate@google.com> |
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
/frameworks/base/libs/androidfw/BackupHelpers.cpp
|
8b2e2c8abc20de5ba3d938d8c559d0c5e2f9e356 |
|
16-Dec-2012 |
You Kim <you.kim72@gmail.com> |
BackupHelpers: Fix Typo delete --> free Change-Id: Idbf7e677f8cc4a9a9d04e58b5cf7d0f1589c5211
/frameworks/base/libs/androidfw/BackupHelpers.cpp
|
83c64e6b624a876436d2ef5d2f173b10407e27b4 |
|
21-Feb-2012 |
Mathias Agopian <mathias@google.com> |
frameworks/base refactoring create the new libandroidfw from parts of libui and libutils Change-Id: I1584995616fff5d527a2aba63921b682a6194d58
/frameworks/base/libs/androidfw/BackupHelpers.cpp
|