OSDN Git Service

Fix the flash mode transition in video mode
authorztenghui <ztenghui@google.com>
Mon, 9 Sep 2013 21:58:44 +0000 (14:58 -0700)
committerztenghui <ztenghui@google.com>
Thu, 12 Sep 2013 00:12:24 +0000 (17:12 -0700)
commit7b265a6b2f55c6ae7afc30e63ba324c4084a5d8e
tree8c70ed32155287e4f023af0df1af439688188eed
parent20703f72e087a01e6a589c2875819cf817581a51
Fix the flash mode transition in video mode

onSwitchMode is wrongly overloaded, now is fixed.
Basically, onCurrentDataChanged will handle the switching in and out of Camera.
onDataFullScreenChange will handle full screen change on non-preview data.

bug:10610967

Change-Id: I199a20d40d66b78302e90e0f96826d03076b0e39
src/com/android/camera/CameraActivity.java
src/com/android/camera/CameraModule.java
src/com/android/camera/PhotoModule.java
src/com/android/camera/PhotoUI.java
src/com/android/camera/VideoModule.java
src/com/android/camera/VideoUI.java
src/com/android/camera/WideAnglePanoramaModule.java
src/com/android/camera/ui/FilmStripView.java