From d23995b644d72cc531cb353cea60b30c2f788d43 Mon Sep 17 00:00:00 2001 From: d34d Date: Thu, 12 Nov 2015 15:25:25 -0800 Subject: Use CMSettings for DEV_FORCE_SHOW_NAVBAR Change-Id: I6a729010205387e496915777c935f25c9af1a485 --- src/com/cyngn/theme/util/Utils.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.1