summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui/IndicatorControlBarContainer.java
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2011-09-09 05:34:37 +0800
committerWu-cheng Li <wuchengli@google.com>2011-09-12 06:51:35 +0800
commit0bb4487fcc7601118111d4545c31dae04651b456 (patch)
treebbc11b712e5029bc4b7eef0170a8ebf83cf32e75 /src/com/android/camera/ui/IndicatorControlBarContainer.java
parente164996caf656a9b966e828dee5296c5b328f364 (diff)
downloadpackages_apps_LegacyCamera-0bb4487fcc7601118111d4545c31dae04651b456.zip
packages_apps_LegacyCamera-0bb4487fcc7601118111d4545c31dae04651b456.tar.gz
packages_apps_LegacyCamera-0bb4487fcc7601118111d4545c31dae04651b456.tar.bz2
Disable zoom and shutter button during video snapshot.
bug:5274338 Change-Id: I4a0f578535075ff37a92f642fd2a7bc6343d3357
Diffstat (limited to 'src/com/android/camera/ui/IndicatorControlBarContainer.java')
-rw-r--r--src/com/android/camera/ui/IndicatorControlBarContainer.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/camera/ui/IndicatorControlBarContainer.java b/src/com/android/camera/ui/IndicatorControlBarContainer.java
index 0783065..b06c63f 100644
--- a/src/com/android/camera/ui/IndicatorControlBarContainer.java
+++ b/src/com/android/camera/ui/IndicatorControlBarContainer.java
@@ -164,4 +164,9 @@ public class IndicatorControlBarContainer extends IndicatorControlContainer
mIndicatorControlBar.setEnabled(enabled);
mSecondLevelIndicatorControlBar.setEnabled(enabled);
}
+
+ @Override
+ public void enableZoom(boolean enabled) {
+ mIndicatorControlBar.enableZoom(enabled);
+ }
}