summaryrefslogtreecommitdiff
path: root/src/com/android/camera/CaptureModule.java
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-06-01 05:01:30 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-06-01 05:01:30 -0700
commit3c9fb76ac258d61b648e4fc33e8a4e8d022dc8e0 (patch)
treee7ba6f9a0b434f734e5bc41a2f705469a51c2231 /src/com/android/camera/CaptureModule.java
parent00c4b391cd898672e987d8f7ea7cc6b6a613d960 (diff)
parent537d765b3e9423fc8d45cccaf5c02102731625bd (diff)
Merge "SnapdragonCamera:Fix IllegalStateException" into camera-SnapdragonCamera.lnx.1.0
Diffstat (limited to 'src/com/android/camera/CaptureModule.java')
-rwxr-xr-xsrc/com/android/camera/CaptureModule.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java
index 5e0737634..f785d314f 100755
--- a/src/com/android/camera/CaptureModule.java
+++ b/src/com/android/camera/CaptureModule.java
@@ -3867,6 +3867,8 @@ public class CaptureModule implements CameraModule, PhotoController,
mUI.showUIafterRecording();
mFrameProcessor.setVideoOutputSurface(null);
restartSession(true);
+ } catch (IllegalStateException e) {
+ e.printStackTrace();
}
return true;
}