aboutsummaryrefslogtreecommitdiffstats
path: root/sdk
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2016-04-15 13:15:33 -0700
committerRoman Birg <roman@cyngn.com>2016-04-22 08:29:38 -0700
commitbf5261c360cb64b9a821d48210173d487ad7b3b8 (patch)
tree3addec7c268826919fc9475e33bc416142c48d25 /sdk
parent7a4fed964039231e3f8ede0e7835c3294b93d129 (diff)
downloadvendor_cmsdk-bf5261c360cb64b9a821d48210173d487ad7b3b8.zip
vendor_cmsdk-bf5261c360cb64b9a821d48210173d487ad7b3b8.tar.gz
vendor_cmsdk-bf5261c360cb64b9a821d48210173d487ad7b3b8.tar.bz2
CMSettings: add CM_SETUP_WIZARD_COMPLETED key
We need to store the state of _our_ setup wizard. To not break existing devices' provisioning, copy the current state of the global provisioned flag to the new key value. Ticket: CYNGNOS-2431 Change-Id: I3d88361edc126788f42b28efd11f3c7598117138 Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'sdk')
-rw-r--r--sdk/src/java/cyanogenmod/providers/CMSettings.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/sdk/src/java/cyanogenmod/providers/CMSettings.java b/sdk/src/java/cyanogenmod/providers/CMSettings.java
index a350438..b6ed449 100644
--- a/sdk/src/java/cyanogenmod/providers/CMSettings.java
+++ b/sdk/src/java/cyanogenmod/providers/CMSettings.java
@@ -2729,6 +2729,14 @@ public final class CMSettings {
*/
public static final String WEATHER_PROVIDER_SERVICE = "weather_provider_service";
+ /**
+ * Set to 0 when we enter the CM Setup Wizard.
+ * Set to 1 when we exit the CM Setup Wizard.
+ *
+ * @hide
+ */
+ public static final String CM_SETUP_WIZARD_COMPLETED = "cm_setup_wizard_completed";
+
// endregion
/**