OSDN Git Service

Add a "clear backed-up data" method to the backup mechanism
authorChristopher Tate <ctate@google.com>
Thu, 2 Jul 2009 18:17:03 +0000 (11:17 -0700)
committerChristopher Tate <ctate@google.com>
Thu, 2 Jul 2009 18:30:29 +0000 (11:30 -0700)
commitee0e78af5af3bf23dd928fe5e0ebeb39157eaf66
treed364ee20d633ea67a5cf6e82e3f67e1e3bd7feb8
parentc7396025e59524e7ef639fd86fc23123939ee91c
Add a "clear backed-up data" method to the backup mechanism

It's now possible to ask that the backup manager wipe the saved data for a given
application from the backing store.  LocalTransport implements this now but the
Google backend does not yet.  When the data is wiped, the on-device backup state
is also wiped to ensure that the next backup pushes all necessary data.

Bmgr has not yet been modified to actually call into this method, but it will
be soon.
core/java/android/backup/IBackupManager.aidl
core/java/com/android/internal/backup/IBackupTransport.aidl
core/java/com/android/internal/backup/LocalTransport.java
services/java/com/android/server/BackupManagerService.java