diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-12-13 16:31:18 +0100 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-12-13 16:31:18 +0100 |
commit | 914e5960a0f34705dd92f27ea4bfecb115117047 (patch) | |
tree | 009fe30cf16c1b34e6d51d116cec2c84c83b48ab | |
parent | 31195e2fc571ae77d4b71e4167c04ba82aaac740 (diff) | |
download | frameworks_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.
-rw-r--r-- | services/core/java/com/android/server/policy/PhoneWindowManager.java | 4 |
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() { |