diff options
Diffstat (limited to 'camera')
-rw-r--r-- | camera/CameraParameters.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/camera/CameraParameters.cpp b/camera/CameraParameters.cpp index d8f9c71..cfb7ba1 100644 --- a/camera/CameraParameters.cpp +++ b/camera/CameraParameters.cpp @@ -254,6 +254,11 @@ float CameraParameters::getFloat(const char *key) const return strtof(v, 0); } +void CameraParameters::remove(const char *key) +{ + mMap.removeItem(String8(key)); +} + static int parse_size(const char *str, int &width, int &height) { // Find the width. |