summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/settings/ButtonSettings.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/ButtonSettings.java b/src/com/android/settings/ButtonSettings.java
index e9342f1..302a017 100644
--- a/src/com/android/settings/ButtonSettings.java
+++ b/src/com/android/settings/ButtonSettings.java
@@ -171,7 +171,7 @@ public class ButtonSettings extends SettingsPreferenceFragment implements
// Only visible on devices that does not have a navigation bar already,
// and don't even try unless the existing keys can be disabled
boolean needsNavigationBar = false;
- if (KeyDisabler.isSupported()) {
+ if (isKeyDisablerSupported()) {
try {
IWindowManager wm = WindowManagerGlobal.getWindowManagerService();
needsNavigationBar = wm.needsNavigationBar();
@@ -461,7 +461,7 @@ public class ButtonSettings extends SettingsPreferenceFragment implements
}
public static void restoreKeyDisabler(Context context) {
- if (!KeyDisabler.isSupported()) {
+ if (!isKeyDisablerSupported()) {
return;
}