summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2013-10-15 12:51:47 -0700
committerDoris Liu <tianliu@google.com>2013-10-15 12:51:47 -0700
commitb7e90f88c7aa1fb5ce35b17ef98a255c06e8d613 (patch)
tree20825187b08bdffd88e6b5069c528dce2c93a0a9 /src
parentb27668f0d0a1d5049759a8448e1701e199e05c71 (diff)
downloadandroid_packages_apps_Snap-b7e90f88c7aa1fb5ce35b17ef98a255c06e8d613.tar.gz
android_packages_apps_Snap-b7e90f88c7aa1fb5ce35b17ef98a255c06e8d613.tar.bz2
android_packages_apps_Snap-b7e90f88c7aa1fb5ce35b17ef98a255c06e8d613.zip
Dismiss switcher popup when shutter button is clicked
Bug: 11224722 Change-Id: Id9813c83e22e951f06cb7a885fdb34820f62b545
Diffstat (limited to 'src')
-rw-r--r--src/com/android/camera/PhotoUI.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/camera/PhotoUI.java b/src/com/android/camera/PhotoUI.java
index 9273e21fd..be0aef901 100644
--- a/src/com/android/camera/PhotoUI.java
+++ b/src/com/android/camera/PhotoUI.java
@@ -606,6 +606,9 @@ public class PhotoUI implements PieListener,
}
public boolean collapseCameraControls() {
+ // TODO: Mode switcher should behave like a popup and should hide itself when there
+ // is a touch outside of it.
+ mSwitcher.closePopup();
// Remove all the popups/dialog boxes
boolean ret = false;
if (mPopup != null) {