diff options
| author | John Spurlock <jspurlock@google.com> | 2013-06-13 11:10:51 -0400 |
|---|---|---|
| committer | John Spurlock <jspurlock@google.com> | 2013-06-14 13:20:17 -0400 |
| commit | 80f00c1f2375796dab09bc4ed5b7631c62f7e158 (patch) | |
| tree | a8b4a9ac74b57be252952fc4b1d1e261574025d4 /core/java/android/view/ViewConfiguration.java | |
| parent | 77b7c33a7a4e79022529ae18e39789adbcc86159 (diff) | |
Remove concept of system bar from window manager.
It was already hardcoded to false, this change removes the dead code.
Change-Id: I5e543344e60f69cb9882a70ba29f7c09404ad9fc
Diffstat (limited to 'core/java/android/view/ViewConfiguration.java')
| -rw-r--r-- | core/java/android/view/ViewConfiguration.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/ViewConfiguration.java b/core/java/android/view/ViewConfiguration.java index 499075e1b6a1..f8cb9c068aa7 100644 --- a/core/java/android/view/ViewConfiguration.java +++ b/core/java/android/view/ViewConfiguration.java @@ -291,7 +291,7 @@ public class ViewConfiguration { if (!sHasPermanentMenuKeySet) { IWindowManager wm = WindowManagerGlobal.getWindowManagerService(); try { - sHasPermanentMenuKey = !wm.hasSystemNavBar() && !wm.hasNavigationBar(); + sHasPermanentMenuKey = !wm.hasNavigationBar(); sHasPermanentMenuKeySet = true; } catch (RemoteException ex) { sHasPermanentMenuKey = false; |
