From 7383a2dc7fa69383bfca0a1693e5bbe3c9601d51 Mon Sep 17 00:00:00 2001 From: likaid Date: Wed, 16 Sep 2015 13:22:58 +0800 Subject: SnapdragonCamera: Fix to make back key event work normally When drop down the notification bar in sub setting mode,Camera will response for touch event to remove sub settting view but responding params mPopupStatus is not reset which cause this bug happen. There is no need to remove sub setting view when drop down notification bar. Change-Id: I5ea08bc23d5a29213e4c7568c7b1ad589d31f5ba CRs-Fixed: 906478 --- src/com/android/camera/ui/ListMenu.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/com/android/camera/ui/ListMenu.java b/src/com/android/camera/ui/ListMenu.java index bb21f7e0a..80a00a7fb 100644 --- a/src/com/android/camera/ui/ListMenu.java +++ b/src/com/android/camera/ui/ListMenu.java @@ -220,10 +220,6 @@ public class ListMenu extends ListView @Override public boolean onTouchEvent(MotionEvent ev) { - if (ev.getAction() == MotionEvent.ACTION_MOVE) { - mListener.onListMenuTouched(); - resetHighlight(); - } return super.onTouchEvent(ev); } -- cgit v1.2.3