OSDN Git Service

Adopt the new error handling mechanism in portability.
authorSenpo Hu <senpo@google.com>
Tue, 7 Oct 2014 01:35:44 +0000 (18:35 -0700)
committerSenpo Hu <senpo@google.com>
Tue, 7 Oct 2014 21:57:01 +0000 (14:57 -0700)
commit2a0e18e280dfe541d4740345511ad299099cda79
tree5af290af3b79a0d984b7d4bf198b760f130c13f4
parent1b19bc806b42ad405a3ea60e5e6c4e278e0aaee2
Adopt the new error handling mechanism in portability.

Show camera fatal dialog to guide users exiting the app when
1) camera framework throws RTE or
2) DispatchThread job is timeout.

If users hit home button while error dialog is shown, just exit
the app.

Bug: 16189216
Change-Id: Ia0f1c64d452735ec62549f50ab62646d8d873c65
src/com/android/camera/CameraActivity.java
src/com/android/camera/app/CameraController.java
src/com/android/camera/app/CameraProvider.java
src/com/android/camera/debug/DebugCameraProxy.java