diff options
Diffstat (limited to 'src/com/android/camera/VideoModule.java')
-rw-r--r-- | src/com/android/camera/VideoModule.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java index 43fc7c584..049ce0a46 100644 --- a/src/com/android/camera/VideoModule.java +++ b/src/com/android/camera/VideoModule.java @@ -585,7 +585,6 @@ public class VideoModule implements CameraModule, mQuickCapture = mActivity.getIntent().getBooleanExtra(EXTRA_QUICK_CAPTURE, false); mLocationManager = new LocationManager(mActivity, this); - mUI.setOrientationIndicator(0, false); setDisplayOrientation(); mUI.showTimeLapseUI(mCaptureTimeLapse); @@ -1272,9 +1271,6 @@ public class VideoModule implements CameraModule, mUI.updateOnScreenIndicators(mParameters, mPreferences); mUI.setSwitcherIndex(); - // From onResume - mUI.setOrientationIndicator(0, false); - UsageStatistics.onContentViewChanged( UsageStatistics.COMPONENT_CAMERA, "VideoModule"); mHandler.post(new Runnable(){ @@ -2266,9 +2262,7 @@ public class VideoModule implements CameraModule, if (!mIsVideoCaptureIntent) { mUI.enableCameraControls(true); } - // The orientation was fixed during video recording. Now make it - // reflect the device orientation as video recording is stopped. - mUI.setOrientationIndicator(0, true); + keepScreenOnAwhile(); if (shouldAddToMediaStoreNow && !fail) { if (mVideoFileDescriptor == null) { |