diff options
| author | James Dong <jdong@google.com> | 2009-07-02 10:04:20 -0700 |
|---|---|---|
| committer | James Dong <jdong@google.com> | 2009-07-02 10:04:20 -0700 |
| commit | a1b653d41df9a7999e1dba2a508295671ff6771d (patch) | |
| tree | 74c7c4639f56b4aab2e076eaadb7d436cab68113 /include/ui | |
| parent | a54755962ca7725d1e2b6cacbbaece6f1cbf5af4 (diff) | |
| download | frameworks_base-a1b653d41df9a7999e1dba2a508295671ff6771d.zip frameworks_base-a1b653d41df9a7999e1dba2a508295671ff6771d.tar.gz frameworks_base-a1b653d41df9a7999e1dba2a508295671ff6771d.tar.bz2 | |
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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ui/Camera.h b/include/ui/Camera.h index 97e0e90..e3544ab 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; |
