diff options
Diffstat (limited to 'src/com/android/camera/CaptureModule.java')
-rw-r--r-- | src/com/android/camera/CaptureModule.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java index 2b28f9946..feef31fec 100644 --- a/src/com/android/camera/CaptureModule.java +++ b/src/com/android/camera/CaptureModule.java @@ -2038,7 +2038,7 @@ public class CaptureModule implements CameraModule, PhotoController, .FLASH_MODE_OFF); break; case CaptureRequest.CONTROL_AE_MODE_ON_AUTO_FLASH: - if (redeye.equals("disable")) { + if (redeye != null && redeye.equals("disable")) { request.set(CaptureRequest.CONTROL_AE_MODE, CaptureRequest .CONTROL_AE_MODE_ON_AUTO_FLASH_REDEYE); } |