diff options
author | Wu-cheng Li <wuchengli@google.com> | 2010-03-08 15:28:48 -0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2010-03-08 15:28:48 -0800 |
commit | d8d888ea7c14715c2210c8dea1a623116c992264 (patch) | |
tree | 652d55952fb5c38145fa0bdc0622da2993d2bacd | |
parent | 3a2bee0e7f867ab6a7d36503731dec1432066470 (diff) | |
download | frameworks_av-d8d888ea7c14715c2210c8dea1a623116c992264.zip frameworks_av-d8d888ea7c14715c2210c8dea1a623116c992264.tar.gz frameworks_av-d8d888ea7c14715c2210c8dea1a623116c992264.tar.bz2 |
Add camera parameter string constant for "true".
bug:2458926
Change-Id: I11eaae8ff031765e23f2627ded5873eabc09cead
-rw-r--r-- | camera/CameraParameters.cpp | 2 | ||||
-rw-r--r-- | include/camera/CameraParameters.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/camera/CameraParameters.cpp b/camera/CameraParameters.cpp index 65785c7..76a9715 100644 --- a/camera/CameraParameters.cpp +++ b/camera/CameraParameters.cpp @@ -70,6 +70,8 @@ const char CameraParameters::KEY_ZOOM_RATIOS[] = "zoom-ratios"; const char CameraParameters::KEY_ZOOM_SUPPORTED[] = "zoom-supported"; const char CameraParameters::KEY_SMOOTH_ZOOM_SUPPORTED[] = "smooth-zoom-supported"; +const char CameraParameters::TRUE[] = "true"; + // Values for white balance settings. const char CameraParameters::WHITE_BALANCE_AUTO[] = "auto"; const char CameraParameters::WHITE_BALANCE_INCANDESCENT[] = "incandescent"; diff --git a/include/camera/CameraParameters.h b/include/camera/CameraParameters.h index 6c6d0bc..a7568d7 100644 --- a/include/camera/CameraParameters.h +++ b/include/camera/CameraParameters.h @@ -228,6 +228,9 @@ public: // Example value: "true". Read only. static const char KEY_SMOOTH_ZOOM_SUPPORTED[]; + // Value for KEY_ZOOM_SUPPORTED or KEY_SMOOTH_ZOOM_SUPPORTED. + static const char TRUE[]; + // Values for white balance settings. static const char WHITE_BALANCE_AUTO[]; static const char WHITE_BALANCE_INCANDESCENT[]; |