summaryrefslogtreecommitdiffstats
path: root/camera
diff options
context:
space:
mode:
authorRuben Brunk <rubenbrunk@google.com>2015-03-19 05:55:16 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-03-19 05:55:16 +0000
commitd58b2ac7244a964caa3f4e386b8280ae2f5d2125 (patch)
tree84ef9b168bd3ab9e33c0532dabf33fe328eba334 /camera
parent377165c24968b044faccaf366a2377fa32143e2f (diff)
parentcc776718c0be7c31fe5ab4fc1446d377be60369f (diff)
downloadframeworks_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.cpp4
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