diff options
author | Ruben Brunk <rubenbrunk@google.com> | 2015-03-19 05:55:16 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-03-19 05:55:16 +0000 |
commit | d58b2ac7244a964caa3f4e386b8280ae2f5d2125 (patch) | |
tree | 84ef9b168bd3ab9e33c0532dabf33fe328eba334 /camera | |
parent | 377165c24968b044faccaf366a2377fa32143e2f (diff) | |
parent | cc776718c0be7c31fe5ab4fc1446d377be60369f (diff) | |
download | frameworks_av-d58b2ac7244a964caa3f4e386b8280ae2f5d2125.zip frameworks_av-d58b2ac7244a964caa3f4e386b8280ae2f5d2125.tar.gz frameworks_av-d58b2ac7244a964caa3f4e386b8280ae2f5d2125.tar.bz2 |
Merge "camera2: Add camera client eviction enforcement."
Diffstat (limited to 'camera')
-rw-r--r-- | camera/CameraParameters.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/camera/CameraParameters.cpp b/camera/CameraParameters.cpp index 3dbf75e..68969cf 100644 --- a/camera/CameraParameters.cpp +++ b/camera/CameraParameters.cpp @@ -530,4 +530,8 @@ int CameraParameters::previewFormatToEnum(const char* format) { -1; } +bool CameraParameters::isEmpty() const { + return mMap.isEmpty(); +} + }; // namespace android |