commit | a1b653d41df9a7999e1dba2a508295671ff6771d | [log] [tgz] |
---|---|---|
author | James Dong <jdong@google.com> | Thu Jul 02 10:04:20 2009 -0700 |
committer | James Dong <jdong@google.com> | Thu Jul 02 10:04:20 2009 -0700 |
tree | 74c7c4639f56b4aab2e076eaadb7d436cab68113 | |
parent | a54755962ca7725d1e2b6cacbbaece6f1cbf5af4 [diff] |
Return CAMERA_ERROR_SERVER_DIED to camera app when camera service dies (bug 1956726)
diff --git a/libs/ui/Camera.cpp b/libs/ui/Camera.cpp index a481ce7..975594f 100644 --- a/libs/ui/Camera.cpp +++ b/libs/ui/Camera.cpp
@@ -312,7 +312,7 @@ void Camera::binderDied(const wp<IBinder>& who) { LOGW("ICamera died"); - notifyCallback(CAMERA_MSG_ERROR, DEAD_OBJECT, 0); + notifyCallback(CAMERA_MSG_ERROR, CAMERA_ERROR_SERVER_DIED, 0); } void Camera::DeathNotifier::binderDied(const wp<IBinder>& who) {