ParanoidCamera: Only run SSM code if it is enabled.
Otherwise the app crashes because pre-8250 Camera
HALs do not support Super Slow Motion.
04-14 17:47:27.886 11878 11946 E AndroidRuntime: FATAL EXCEPTION: CameraBackground
04-14 17:47:27.886 11878 11946 E AndroidRuntime: Process: co.paranoidandroid.camera, PID: 11878
04-14 17:47:27.886 11878 11946 E AndroidRuntime: java.lang.IllegalArgumentException: Could not find tag for key 'com.qti.chi.superslowmotionfrc.CaptureComplete')
04-14 17:47:27.886 11878 11946 E AndroidRuntime: at android.hardware.camera2.impl.CameraMetadataNative.nativeGetTagFromKeyLocal(Native Method)
Change-Id: I48aa767683e38f36b5fc8ba43faee03c25f63dd4
1 file changed