summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authord34d <clark@cyngn.com>2015-11-12 15:25:25 -0800
committerd34d <clark@cyngn.com>2015-11-12 15:25:25 -0800
commitd23995b644d72cc531cb353cea60b30c2f788d43 (patch)
treee9c2751189668a13f20ab6b12214f5193500caea
parent91ed462f5bec8a9130557d5b54ef9aed9e6385c4 (diff)
downloadpackages_apps_ThemeChooser-d23995b644d72cc531cb353cea60b30c2f788d43.zip
packages_apps_ThemeChooser-d23995b644d72cc531cb353cea60b30c2f788d43.tar.gz
packages_apps_ThemeChooser-d23995b644d72cc531cb353cea60b30c2f788d43.tar.bz2
Use CMSettings for DEV_FORCE_SHOW_NAVBAR
Change-Id: I6a729010205387e496915777c935f25c9af1a485
-rw-r--r--src/com/cyngn/theme/util/Utils.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/cyngn/theme/util/Utils.java b/src/com/cyngn/theme/util/Utils.java
index d5f8bab..56670de 100644
--- a/src/com/cyngn/theme/util/Utils.java
+++ b/src/com/cyngn/theme/util/Utils.java
@@ -32,6 +32,7 @@ import android.view.WindowManager;
import android.view.WindowManagerGlobal;
import com.cyngn.theme.chooser.ChooserActivity;
+import cyanogenmod.providers.CMSettings;
import java.io.File;
import java.io.FileInputStream;
@@ -261,8 +262,8 @@ public class Utils {
// Need to also check for devices with hardware keys where the user has chosen to use
// the on screen navigation bar
needsNavigationBar = needsNavigationBar ||
- Settings.Secure.getInt(context.getContentResolver(),
- Settings.Secure.DEV_FORCE_SHOW_NAVBAR, 0) == 1;
+ CMSettings.Secure.getInt(context.getContentResolver(),
+ CMSettings.Secure.DEV_FORCE_SHOW_NAVBAR, 0) == 1;
return needsNavigationBar;
}