diff options
author | cretin45 <cretin45@gmail.com> | 2016-05-15 10:52:09 -0700 |
---|---|---|
committer | cretin45 <cretin45@gmail.com> | 2016-05-15 10:54:37 -0700 |
commit | 334c00f437a063dbc28417ef5722851755a5f7e7 (patch) | |
tree | 453d993aa44c08c6353bfeb8d725a7108fffa7b3 | |
parent | df3662581a79bf6d02bacce99d492b46d7a25f47 (diff) | |
download | packages_apps_SetupWizard-334c00f437a063dbc28417ef5722851755a5f7e7.zip packages_apps_SetupWizard-334c00f437a063dbc28417ef5722851755a5f7e7.tar.gz packages_apps_SetupWizard-334c00f437a063dbc28417ef5722851755a5f7e7.tar.bz2 |
SetupWizard: Use proper CMSetting for soft keys option
Issue-id: CYNGNOS-2842
Change-Id: I5ab75d9d90d79b66fa9b10f011272fc0090a78dd
-rw-r--r-- | src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java b/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java index d17d64b..03a04b6 100644 --- a/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java +++ b/src/com/cyanogenmod/setupwizard/setup/CyanogenSettingsPage.java @@ -91,8 +91,8 @@ public class CyanogenSettingsPage extends SetupPage { private static void writeDisableNavkeysOption(Context context, boolean enabled) { final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); - CMSettings.Secure.putInt(context.getContentResolver(), - CMSettings.Secure.DEV_FORCE_SHOW_NAVBAR, enabled ? 1 : 0); + CMSettings.Global.putInt(context.getContentResolver(), + CMSettings.Global.DEV_FORCE_SHOW_NAVBAR, enabled ? 1 : 0); CMHardwareManager hardware = CMHardwareManager.getInstance(context); hardware.set(CMHardwareManager.FEATURE_KEY_DISABLE, enabled); |