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)
committerAlan Newberger <alann@google.com>
Fri, 24 Oct 2014 17:04:09 +0000 (10:04 -0700)
commit8fb9e06bbace9fe5b548cea02bcc8ce7f3129e25
treebbbeaafd4d59ff43ed32a8ef0817e459cc9c60c5
parent0d283729f3cb0bdc3f5afd992e5f49e56d1e5728
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

Conflicts:
src/com/android/camera/CameraActivity.java
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