summaryrefslogtreecommitdiff
path: root/src/com/android/camera/CaptureModule.java
diff options
context:
space:
mode:
authorjunjiez <junjiez@codeaurora.org>2018-07-27 13:25:53 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-08-03 03:12:39 -0700
commitefaf23ae9846832f2bc3f208f887943a68af102a (patch)
treeff95298eec78a223fffc3d57309cb4ac76aaa889 /src/com/android/camera/CaptureModule.java
parentfd59af7220a45395048c4a86fa58c0bde365b878 (diff)
SnapdragonCamera:Fix IllegalArgumentException
Catch IllegalArgumentException in create sessions to avoid FC Change-Id: I74ad0c34ca0beab0c53025f515f2e3c39a5b8085 CRs-Fixed: 2285460
Diffstat (limited to 'src/com/android/camera/CaptureModule.java')
-rwxr-xr-xsrc/com/android/camera/CaptureModule.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java
index 1c247dfab..f6a603c39 100755
--- a/src/com/android/camera/CaptureModule.java
+++ b/src/com/android/camera/CaptureModule.java
@@ -1500,7 +1500,7 @@ public class CaptureModule implements CameraModule, PhotoController,
} catch (IllegalStateException e) {
Log.v(TAG, "createSession: mPaused status occur Time out waiting for surface ");
} catch (NullPointerException e) {
-
+ } catch (IllegalArgumentException e) {
}
}