summaryrefslogtreecommitdiffstats
path: root/services/core
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-12-13 16:31:18 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-12-13 16:31:18 +0100
commit914e5960a0f34705dd92f27ea4bfecb115117047 (patch)
tree009fe30cf16c1b34e6d51d116cec2c84c83b48ab /services/core
parent31195e2fc571ae77d4b71e4167c04ba82aaac740 (diff)
downloadframeworks_base-914e5960a0f34705dd92f27ea4bfecb115117047.zip
frameworks_base-914e5960a0f34705dd92f27ea4bfecb115117047.tar.gz
frameworks_base-914e5960a0f34705dd92f27ea4bfecb115117047.tar.bz2
Revert "PhoneWindowManager : Check CM_SETUP_WIZARD_COMPLETED for isUserSetupComplete"
CyanogenMod's Setup Wizard is currently no in use. But if we fix the setup wizard and use it, this commit needs to be reverted. This reverts commit d4c6db9ce9020148d41234d5f28f0d57cc98f41c.
Diffstat (limited to 'services/core')
-rw-r--r--services/core/java/com/android/server/policy/PhoneWindowManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/policy/PhoneWindowManager.java b/services/core/java/com/android/server/policy/PhoneWindowManager.java
index 6339007..f0c4a62 100644
--- a/services/core/java/com/android/server/policy/PhoneWindowManager.java
+++ b/services/core/java/com/android/server/policy/PhoneWindowManager.java
@@ -1443,8 +1443,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
}
boolean isUserSetupComplete() {
- return CMSettings.Secure.getIntForUser(mContext.getContentResolver(),
- CMSettings.Secure.CM_SETUP_WIZARD_COMPLETED, 0, UserHandle.USER_CURRENT) != 0;
+ return Settings.Secure.getIntForUser(mContext.getContentResolver(),
+ Settings.Secure.USER_SETUP_COMPLETE, 0, UserHandle.USER_CURRENT) != 0;
}
private void handleShortPressOnHome() {