commit | 16f3d35459a03bf7fad41df0a0d192d2c50a0594 | [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 | 5f417649d10b986df42f7851b3b67541f75632d9 | |
parent | bdfffcc0c265350a1d4fa79f0bc12a5b8606fde1 [diff] [blame] |
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) {