summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-07-01 11:22:45 -0700
committerDianne Hackborn <hackbod@google.com>2009-07-01 20:20:47 -0700
commitd7cd29da91ccc0aba1f1097e19366f9ca36c7ce1 (patch)
tree03869e5efe3791758b0e9da9d029373ec1653cb2 /core/java/android/provider
parentcf098294da7a820d5c30d8ed2006ed5446ee1da9 (diff)
downloadframeworks_base-d7cd29da91ccc0aba1f1097e19366f9ca36c7ce1.zip
frameworks_base-d7cd29da91ccc0aba1f1097e19366f9ca36c7ce1.tar.gz
frameworks_base-d7cd29da91ccc0aba1f1097e19366f9ca36c7ce1.tar.bz2
Add facility to run setup wizard after an update.
The system now keeps a tag of the last version (just an arbitrary string) that the setup wizard was run for. If this is different than the current one in the setup wizard, then setup is launched at boot. This introduces a new intent action for the part of the setup wizard that gets run for an ungrade, which the system uses to find its current version tag for comparing against what was last stored. It is up to the launched setup activity update the stored setting to reflect its current value, once it is happy.
Diffstat (limited to 'core/java/android/provider')
-rw-r--r--core/java/android/provider/Settings.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 424f740..4a40058 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -2237,6 +2237,13 @@ public final class Settings {
* @hide
*/
public static final String BACKUP_TRANSPORT = "backup_transport";
+
+ /**
+ * Version for which the setup wizard was last shown. Bumped for
+ * each release when there is new setup information to show.
+ * @hide
+ */
+ public static final String LAST_SETUP_SHOWN = "last_setup_shown";
/**
* Helper method for determining if a location provider is enabled.