summaryrefslogtreecommitdiff
path: root/include/ui
diff options
context:
space:
mode:
author Android (Google) Code Review <android-gerrit@google.com> 2009-07-02 11:00:41 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2009-07-02 11:00:41 -0700
commitc7396025e59524e7ef639fd86fc23123939ee91c (patch)
treeec0f2b85cab7a18753f1597e612fc28738d4a142 /include/ui
parentd3de90f38d779d28a724e89297c83e6ba1a66fa7 (diff)
parenta1b653d41df9a7999e1dba2a508295671ff6771d (diff)
Merge change 6084 into donut
* changes: Return CAMERA_ERROR_SERVER_DIED to camera app when camera service dies (bug 1956726)
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/Camera.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ui/Camera.h b/include/ui/Camera.h
index 97e0e90df562..e3544ab0f155 100644
--- a/include/ui/Camera.h
+++ b/include/ui/Camera.h
@@ -76,6 +76,12 @@ enum {
CAMERA_MSG_COMPRESSED_IMAGE
};
+// camera fatal errors
+enum {
+ CAMERA_ERROR_UKNOWN = 1,
+ CAMERA_ERROR_SERVER_DIED = 100
+};
+
class ICameraService;
class ICamera;
class Surface;