diff options
author | Chih-Chung Chang <chihchung@google.com> | 2011-10-19 19:46:01 +0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2011-10-19 19:46:47 +0800 |
commit | 55efc325fc17b911ed1d2a252ea82d995eca2360 (patch) | |
tree | fbce24a04c1ab6c32a412cb710a5739450c0643f /src/com | |
parent | 967d36c02eca4ae3af6dcd93ac9c7ffd6401aea5 (diff) | |
download | LegacyCamera-55efc325fc17b911ed1d2a252ea82d995eca2360.zip LegacyCamera-55efc325fc17b911ed1d2a252ea82d995eca2360.tar.gz LegacyCamera-55efc325fc17b911ed1d2a252ea82d995eca2360.tar.bz2 |
Fix 5480562: Set indicator orientation after video recording is stopped.
Change-Id: Ic7bd5fe93d38bbe1c291dc9eee82a5aefcfa7c3a
Diffstat (limited to 'src/com')
-rwxr-xr-x | src/com/android/camera/VideoCamera.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java index 6a251d4..0d63dae 100755 --- a/src/com/android/camera/VideoCamera.java +++ b/src/com/android/camera/VideoCamera.java @@ -1680,6 +1680,9 @@ public class VideoCamera extends ActivityBase if (!mIsVideoCaptureIntent) { enableCameraControls(true); } + // The orientation was fixed during video recording. Now make it + // reflect the device orientation as video recording is stopped. + setOrientationIndicator(mOrientationCompensation); keepScreenOnAwhile(); if (shouldAddToMediaStoreNow) { addVideoToMediaStore(); |