From 314df160c02edb817cea00dad66a1de4d2122e72 Mon Sep 17 00:00:00 2001 From: Sujith Ramakrishnan Date: Fri, 16 Jun 2017 18:03:18 -0700 Subject: [PATCH] Add a new flag to check if provisioning is completed on ATV - This flag will be set once provisioning is completed and reset when SetupWizard is re-enabled. Test: None. Adding a static variable. Bug: 62419382 Change-Id: Ie3e4c118d26f6bd035a451ed1914e73bdeda4e3f --- core/java/android/provider/Settings.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index ee3e986cc3237..9e74c8e21e8c8 100755 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -5187,6 +5187,15 @@ public final class Settings { */ public static final String USER_SETUP_COMPLETE = "user_setup_complete"; + /** + * Whether the current user has been set up via setup wizard (0 = false, 1 = true) + * This value differs from USER_SETUP_COMPLETE in that it can be reset back to 0 + * in case SetupWizard has been re-enabled on TV devices. + * + * @hide + */ + public static final String TV_USER_SETUP_COMPLETE = "tv_user_setup_complete"; + /** * Prefix for category name that marks whether a suggested action from that category was * completed.