summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/camera/VideoModule.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index fc65eb5bc..55db5a611 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -1851,7 +1851,6 @@ public class VideoModule implements CameraModule,
mStartRecPending = true;
mUI.cancelAnimations();
mUI.setSwipingEnabled(false);
- mUI.hideUIwhileRecording();
// When recording request is sent before starting preview, onPreviewFrame()
// callback doesn't happen so removing preview cover here, instead.
if (mUI.isPreviewCoverVisible()) {
@@ -1924,6 +1923,8 @@ public class VideoModule implements CameraModule,
return false;
}
+ mUI.hideUIwhileRecording();
+
// Make sure the video recording has started before announcing
// this in accessibility.
AccessibilityUtils.makeAnnouncement(mUI.getShutterButton(),