From 16f3d35459a03bf7fad41df0a0d192d2c50a0594 Mon Sep 17 00:00:00 2001 From: James Dong Date: Thu, 2 Jul 2009 10:04:20 -0700 Subject: Return CAMERA_ERROR_SERVER_DIED to camera app when camera service dies (bug 1956726) --- libs/ui/Camera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ui/Camera.cpp') diff --git a/libs/ui/Camera.cpp b/libs/ui/Camera.cpp index a481ce7045..975594f39e 100644 --- a/libs/ui/Camera.cpp +++ b/libs/ui/Camera.cpp @@ -312,7 +312,7 @@ void Camera::dataCallback(int32_t msgType, const sp& dataPtr) void Camera::binderDied(const wp& 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& who) { -- cgit v1.2.3-59-g8ed1b