OSDN Git Service

Set video orientation hint according to device orientation. do not merge
authorWu-cheng Li <wuchengli@google.com>
Sat, 6 Nov 2010 06:47:17 +0000 (14:47 +0800)
committerWu-cheng Li <wuchengli@google.com>
Mon, 8 Nov 2010 15:20:35 +0000 (23:20 +0800)
commite424c1b9176bb838feb67180a738836bb42b2a7a
tree9f3fb9f025586f78f105fab0948b8e0d2722b1b8
parent3ecd5f5a78f828a2333457d3ee1ff5e180134fe1
Set video orientation hint according to device orientation. do not merge

Also rotate the on-screen icons according to device orientation.
Move prepare to startVideoRecording because we need to set
the latest orientation to MediaRecorder.setOrientationHint.
setOrientationHint has to be called before prepare.

bug:3163671
Change-Id: I69efe7408aa5d47e2ef9bbab9dd4337a10d56814
src/com/android/camera/Camera.java
src/com/android/camera/VideoCamera.java
src/com/android/camera/ui/CamcorderHeadUpDisplay.java