summaryrefslogtreecommitdiffstats
path: root/policy
diff options
context:
space:
mode:
authorRoboErik <epastern@google.com>2014-07-17 12:17:27 -0700
committerRoboErik <epastern@google.com>2014-07-17 12:18:32 -0700
commit28204a768e4a2b84fe8bea2e8fe582d81c0d75a7 (patch)
tree4473ea2a81d0cb744c45cbb38eb000fe7e5c1a52 /policy
parent9142a0f80cff7572a8249680eaa5db35cb193e34 (diff)
downloadframeworks_base-28204a768e4a2b84fe8bea2e8fe582d81c0d75a7.zip
frameworks_base-28204a768e4a2b84fe8bea2e8fe582d81c0d75a7.tar.gz
frameworks_base-28204a768e4a2b84fe8bea2e8fe582d81c0d75a7.tar.bz2
return false for media keys if no controller
bug:16311395 Change-Id: I4cde865858f99a9159abc181cc987fbd9866025b
Diffstat (limited to 'policy')
-rw-r--r--policy/src/com/android/internal/policy/impl/PhoneWindow.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindow.java b/policy/src/com/android/internal/policy/impl/PhoneWindow.java
index abbaacc..da0bc30 100644
--- a/policy/src/com/android/internal/policy/impl/PhoneWindow.java
+++ b/policy/src/com/android/internal/policy/impl/PhoneWindow.java
@@ -1729,6 +1729,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
return true;
}
}
+ return false;
}
case KeyEvent.KEYCODE_MENU: {
@@ -1822,6 +1823,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
return true;
}
}
+ return false;
}
case KeyEvent.KEYCODE_MENU: {