summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2011-01-06 15:54:23 -0800
committerJoe Onorato <joeo@google.com>2011-01-06 16:26:12 -0800
commit641bad449ba3b971500843c6bf7bf6f08363d09e (patch)
tree041b6c0c15b4b2815a1ed9e9098339001937d32f
parent03ab0c7231a5c534b86eca28d875c6026ae09564 (diff)
downloadframeworks_base-641bad449ba3b971500843c6bf7bf6f08363d09e.zip
frameworks_base-641bad449ba3b971500843c6bf7bf6f08363d09e.tar.gz
frameworks_base-641bad449ba3b971500843c6bf7bf6f08363d09e.tar.bz2
This makes the events at the edge of the screen find the button.
Change-Id: Ib809d4c501a1863d4023a5cc52260077be295b10
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
index 5374957..3a7bd90 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
@@ -78,6 +78,8 @@ public class KeyButtonView extends ImageView {
mWindowManager = IWindowManager.Stub.asInterface(
ServiceManager.getService(Context.WINDOW_SERVICE));
+
+ setClickable(true);
}
public boolean onTouchEvent(MotionEvent ev) {