diff options
author | Joe Onorato <joeo@google.com> | 2011-01-06 15:54:23 -0800 |
---|---|---|
committer | Joe Onorato <joeo@google.com> | 2011-01-06 16:26:12 -0800 |
commit | 641bad449ba3b971500843c6bf7bf6f08363d09e (patch) | |
tree | 041b6c0c15b4b2815a1ed9e9098339001937d32f | |
parent | 03ab0c7231a5c534b86eca28d875c6026ae09564 (diff) | |
download | frameworks_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.java | 2 |
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) { |