summaryrefslogtreecommitdiffstats
path: root/modules/camera
diff options
context:
space:
mode:
authorAlex Ray <aray@google.com>2013-02-28 15:40:08 -0800
committerAlex Ray <aray@google.com>2013-02-28 15:41:55 -0800
commit1f8af678c9ef28090fad3dcb13eec84aab499ac7 (patch)
treed43c97eab258fb1b35bea0dabbae9be25fe90064 /modules/camera
parentfefb3343906fe73c827d1b9d50cb3c451602c514 (diff)
downloadhardware_libhardware-1f8af678c9ef28090fad3dcb13eec84aab499ac7.zip
hardware_libhardware-1f8af678c9ef28090fad3dcb13eec84aab499ac7.tar.gz
hardware_libhardware-1f8af678c9ef28090fad3dcb13eec84aab499ac7.tar.bz2
modules: camera: make Camera object id const
Change-Id: Ic36fa7c6193086aa6415647ff8fe59cc358dd99f
Diffstat (limited to 'modules/camera')
-rw-r--r--modules/camera/Camera.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/camera/Camera.h b/modules/camera/Camera.h
index f38b461..f2ad093 100644
--- a/modules/camera/Camera.h
+++ b/modules/camera/Camera.h
@@ -51,7 +51,7 @@ class Camera {
private:
// Identifier used by framework to distinguish cameras
- int mId;
+ const int mId;
// Busy flag indicates camera is in use
bool mBusy;
// Camera device operations handle shared by all devices