summaryrefslogtreecommitdiff
path: root/tests/backup/src/com/android/backuptest/BackupTestService.java
AgeCommit message (Collapse)Author
2009-05-31Retool the backup process to use a new 'BackupAgent' classChristopher Tate
Backups will be handled by launching the application in a special mode under which no activities or services will be started, only the BackupAgent subclass named in the app's android:backupAgent manifest property. This takes the place of the BackupService class used earlier during development. In the cases of *full* backup or restore, an application that does not supply its own BackupAgent will be launched in a restricted manner; in particular, it will be using the default Application class rather than any manifest-declared one. This ensures that the app is not running any code that may try to manipulate its data while the backup system reads/writes its data set.
2009-05-14Get the backup calling through to the file backup helper.Joe Onorato
This includes some cleanup to make the parameters match between BackupService.onBackup and FileBackupHelper.performBackup.
2009-05-13With this, the BackupService onBackup method is called.Joe Onorato
It took a bunch of refactoring inside BackupManagerService, which is unfortunately all temporary anyway, but it unblocks a bunch of stuff.
2009-05-05Add a test app for the backupJoe Onorato