summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKerong Sui <ksui@codeaurora.org>2014-04-08 15:49:29 +0800
committerAbhisek Devkota <ciwrl@cyanogenmod.com>2014-10-21 00:27:40 +0000
commit46f2f7cc757631887441169b6fd0ec0c4ebb1899 (patch)
treed245d03642bd0e8a5fe3a0392d8361d6529062ed
parentb5e5e5936b9b48159a7397d8515b96c43ed1433f (diff)
downloadandroid_packages_apps_Camera2-46f2f7cc757631887441169b6fd0ec0c4ebb1899.tar.gz
android_packages_apps_Camera2-46f2f7cc757631887441169b6fd0ec0c4ebb1899.tar.bz2
android_packages_apps_Camera2-46f2f7cc757631887441169b6fd0ec0c4ebb1899.zip
Camera2: the menu button should not visible in some cases
When we start camcorder from other activity, we touch home key, then back to the activity, this button will cover with the save button.The patch will fix this issue Change-Id: I74dc5f556d2a30af651d53b39c2bb4397a59884e CRs-fixed: 633613
-rw-r--r--src/com/android/camera/VideoUI.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/camera/VideoUI.java b/src/com/android/camera/VideoUI.java
index d4ac9d2aa..6a77637ad 100644
--- a/src/com/android/camera/VideoUI.java
+++ b/src/com/android/camera/VideoUI.java
@@ -675,6 +675,8 @@ public class VideoUI implements PieRenderer.PieListener,
}
private void setShowMenu(boolean show) {
+ if (mController.isVideoCaptureIntent())
+ return;
if (mOnScreenIndicators != null) {
mOnScreenIndicators.setVisibility(show ? View.VISIBLE : View.GONE);
}