OSDN Git Service

Fix camera preview stopped after onResume().
authorAngus Kong <shkong@google.com>
Fri, 9 Aug 2013 00:06:03 +0000 (17:06 -0700)
committerAngus Kong <shkong@google.com>
Wed, 14 Aug 2013 00:49:11 +0000 (17:49 -0700)
commitdcccc510652b835fdbd39310a07849af8203052a
treec7f7f9b3787b8213edbbae76bf1c83ba3a201c82
parent5894ec256d231e5167239176cc90b96a49cb9148
Fix camera preview stopped after onResume().

This fix is for the blank camera preview blank after onPause() -> onResume().
1. Refined camera start up procedure by removing redundant camera startup
   thread.
2. Cleanup unused calls after aparted from gallery.

  bug:10189998

Change-Id: I13ffa24aff5069f0032cd4bc801548fccc63d0e7
res/layout/photo_module.xml
src/com/android/camera/CameraActivity.java
src/com/android/camera/PhotoController.java
src/com/android/camera/PhotoModule.java
src/com/android/camera/PhotoUI.java
src/com/android/camera/VideoModule.java
src/com/android/camera/data/CameraDataAdapter.java
src/com/android/camera/data/FixedFirstDataAdapter.java
src/com/android/camera/ui/FilmStripView.java