summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/com/android/camera/util/CameraUtil.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/util/CameraUtil.java b/src/com/android/camera/util/CameraUtil.java
index 4d9cb70..db86e75 100755
--- a/src/com/android/camera/util/CameraUtil.java
+++ b/src/com/android/camera/util/CameraUtil.java
@@ -188,6 +188,7 @@ public class CameraUtil {
}
public static boolean isVideoSnapshotSupported(Parameters params) {
+ if (params == null) return false;
return TRUE.equals(params.get(VIDEO_SNAPSHOT_SUPPORTED));
}