commit | 2d015c92e5584660d4824725de9faa8af977c7bf | [log] [tgz] |
---|---|---|
author | Aoao Yang <aoaoyang@codeaurora.org> | Fri Sep 04 10:46:11 2020 +0800 |
committer | Alexander Martinz <amartinz@shiftphones.com> | Tue Oct 05 11:10:07 2021 +0200 |
tree | a5f84cb6e699585e2dea08e9f6fe718264fad44a | |
parent | ee07ef147f1f4613d519dfd4842f3258964fc362 [diff] |
Snapcam: monkey test for null object reference Change-Id: I0a16d0546a5dcd108cac7273039b8c41b61e850d
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java index 1ec3297..787f24e 100755 --- a/src/com/android/camera/CaptureModule.java +++ b/src/com/android/camera/CaptureModule.java
@@ -4673,6 +4673,8 @@ e.printStackTrace(); } catch (IllegalStateException e) { e.printStackTrace(); + } catch (NullPointerException e) { + e.printStackTrace(); } if ((!mFrameProcessor.isFrameListnerEnabled() && !startMediaRecorder()) || !mIsRecordingVideo) { releaseMediaRecorder();