Omnilib: disable usage of OMNI_NAVIGATION_BAR_SHOW
hopefully only tmp until 12.1 migration is done
Change-Id: I6bd299fc3631727c952a8c0ce0342426763b5f4a
diff --git a/src/org/omnirom/omnilib/utils/DeviceUtils.java b/src/org/omnirom/omnilib/utils/DeviceUtils.java
index 965e193..675b3e0 100644
--- a/src/org/omnirom/omnilib/utils/DeviceUtils.java
+++ b/src/org/omnirom/omnilib/utils/DeviceUtils.java
@@ -76,10 +76,10 @@
public static boolean deviceSupportNavigationBarForUser(Context context, int userId) {
final boolean showByDefault = context.getResources().getBoolean(
com.android.internal.R.bool.config_showNavigationBar);
- final int hasNavigationBar = Settings.System.getIntForUser(
+ /*final int hasNavigationBar = Settings.System.getIntForUser(
context.getContentResolver(),
- Settings.System.OMNI_NAVIGATION_BAR_SHOW, -1, userId);
- //final int hasNavigationBar = -1;
+ Settings.System.OMNI_NAVIGATION_BAR_SHOW, -1, userId);*/
+ final int hasNavigationBar = -1;
if (hasNavigationBar == -1) {
String navBarOverride = SystemProperties.get("qemu.hw.mainkeys");
if ("1".equals(navBarOverride)) {