summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlikaid <likaid@codeaurora.org>2015-09-16 13:22:58 +0800
committerSteve Kondik <steve@cyngn.com>2016-08-03 15:44:39 -0700
commit7383a2dc7fa69383bfca0a1693e5bbe3c9601d51 (patch)
treeee9d1210818b0a3cf7429ee1b948bf8d5a220251
parentbc536293434457995d900aeb27709ccdce417228 (diff)
downloadandroid_packages_apps_Snap-7383a2dc7fa69383bfca0a1693e5bbe3c9601d51.zip
android_packages_apps_Snap-7383a2dc7fa69383bfca0a1693e5bbe3c9601d51.tar.gz
android_packages_apps_Snap-7383a2dc7fa69383bfca0a1693e5bbe3c9601d51.tar.bz2
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
-rw-r--r--src/com/android/camera/ui/ListMenu.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/com/android/camera/ui/ListMenu.java b/src/com/android/camera/ui/ListMenu.java
index bb21f7e..80a00a7 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);
}