summaryrefslogtreecommitdiffstats
path: root/core/java/android/content
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2009-04-29 14:03:25 -0700
committerChristopher Tate <ctate@google.com>2009-04-29 14:49:30 -0700
commit487529a70cd1479ae8d6bbfb356be7e72542c185 (patch)
treeca19a948a28e9d4eb7b4c9890b006e43b89d7a6d /core/java/android/content
parentdc67739af90aa31a0b546c14bf1e68e6acbb8375 (diff)
downloadframeworks_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.java9
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.
*