summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorZhijun He <zhijunhe@google.com>2015-01-23 23:57:58 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-01-23 23:57:59 +0000
commit7be3af0a7a283d1b6efd6f630f9d09d171e75534 (patch)
tree09b8a3731c38dea5e4877d91b1fc198760f4bc56 /include
parent9f36a37c2409b305a428eb91014ed33e32816b99 (diff)
parent46e0a589d59f2a53b3d0971101902d10fc8a097e (diff)
downloadsystem_core-7be3af0a7a283d1b6efd6f630f9d09d171e75534.zip
system_core-7be3af0a7a283d1b6efd6f630f9d09d171e75534.tar.gz
system_core-7be3af0a7a283d1b6efd6f630f9d09d171e75534.tar.bz2
Merge "camera: add external camera facing enum"
Diffstat (limited to 'include')
-rw-r--r--include/system/camera.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/system/camera.h b/include/system/camera.h
index 7a4dd53..09c915d 100644
--- a/include/system/camera.h
+++ b/include/system/camera.h
@@ -194,7 +194,12 @@ enum {
/** The facing of the camera is opposite to that of the screen. */
CAMERA_FACING_BACK = 0,
/** The facing of the camera is the same as that of the screen. */
- CAMERA_FACING_FRONT = 1
+ CAMERA_FACING_FRONT = 1,
+ /**
+ * The facing of the camera is not fixed relative to the screen.
+ * The cameras with this facing are external cameras, e.g. USB cameras.
+ */
+ CAMERA_FACING_EXTERNAL = 2
};
enum {