diff options
| author | junjiez <junjiez@codeaurora.org> | 2018-07-27 13:25:53 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-08-03 03:12:39 -0700 |
| commit | efaf23ae9846832f2bc3f208f887943a68af102a (patch) | |
| tree | ff95298eec78a223fffc3d57309cb4ac76aaa889 /src/com/android/camera/CaptureModule.java | |
| parent | fd59af7220a45395048c4a86fa58c0bde365b878 (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-x | 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 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) { } } |
