diff options
author | Christopher Tate <ctate@google.com> | 2009-04-29 14:03:25 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2009-04-29 14:49:30 -0700 |
commit | 487529a70cd1479ae8d6bbfb356be7e72542c185 (patch) | |
tree | ca19a948a28e9d4eb7b4c9890b006e43b89d7a6d /core/java/android/content | |
parent | dc67739af90aa31a0b546c14bf1e68e6acbb8375 (diff) | |
download | frameworks_base-487529a70cd1479ae8d6bbfb356be7e72542c185.zip frameworks_base-487529a70cd1479ae8d6bbfb356be7e72542c185.tar.gz frameworks_base-487529a70cd1479ae8d6bbfb356be7e72542c185.tar.bz2 |
First baby steps towards settings backup
This change adds a sketched outline of the backup system architecture, with
all of the major pieces represented other than client-side helpers for
specific types of data. IBackupManager and BackupService are public so that
we can write test apps against SDK-domain symbols from the outset.
What code exists in this change hasn't been tested and may crash. It's the
beginnings of the real implementation but of course is barely begun.
Diffstat (limited to 'core/java/android/content')
-rw-r--r-- | core/java/android/content/Context.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java index a301449..f2ad248 100644 --- a/core/java/android/content/Context.java +++ b/core/java/android/content/Context.java @@ -1269,6 +1269,15 @@ public abstract class Context { public static final String APPWIDGET_SERVICE = "appwidget"; /** + * Use with {@link #getSystemService} to retrieve an + * {@blink android.backup.IBackupManager IBackupManager} for communicating + * with the backup mechanism. + * + * @see #getSystemService + */ + public static final String BACKUP_SERVICE = "backup"; + + /** * Determine whether the given permission is allowed for a particular * process and user ID running in the system. * |