summaryrefslogtreecommitdiff
path: root/core/java/android/backup/BackupHelperAgent.java
Commit message (Collapse)AuthorAgeFilesLines
* Refactor android.backup => android.app.backupChristopher Tate2010-03-051-77/+0
| | | | Change-Id: I0b21316ff890d7f3c7d4b82837bb60670724c2e8
* Add some backup Javadoc and clean importsKenny Root2010-02-241-13/+8
| | | | | | | Add a bit more Javadoc to the backup infrastructure and clean up unused imports. Change-Id: I8ab7c3fb887ae2e8d2f1bfac42f03cb4b42685ef
* API CHANGE: expose backup/restore to the SDKChristopher Tate2010-02-161-1/+27
| | | | | | | | | | | | | | The core backup/restore classes [BackupManager, BackupAgent, RestoreSession, and RestoreObserver] are now published for 3rd party developers, as well as the suite of helper classes that exist so far to aid authorship of backup/restore agents. In conjunction with the API change, the restore-time automatic data wipe has now been removed: applications are responsible for managing the logic of wipe vs merge themselves. If the app's agent onRestore() callback throws, the data is presumed to be incoherent and a wipe is issued via the Activity Manager; otherwise, no automatic action is ever taken. Change-Id: I0b3418b829d4689b58b88be3d9c4ace37a8583a9
* Make the BackupHelperDispatcher properly handle multiple helpers.Joe Onorato2009-06-251-1/+1
|
* Pass the originating app's versionCode along with a restore setChristopher Tate2009-06-221-2/+2
| | | | | | | This change amends the doRestore() / onRestore() interface to backup agents to provide the integer android:versionCode of the app that stored the backup set. This should help agents figure out how to handle whatever historical data set they're handed at restore time.
* Helper API cleanup. Allows multiple helpers to function,Joe Onorato2009-06-221-0/+56
because they'll always go in the same order, and this lets us not have to write headers to keep them paired.