Merge pull request #492 from AAkira/fix/android-camera-crash

Fix NullPointerException after taking a photo by a camera app on Android
This commit is contained in:
Lorenzo Pichilli 2020-09-07 09:54:28 +02:00 committed by GitHub
commit 7cec791484
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public class InAppWebViewChromeClient extends WebChromeClient implements PluginR
private static final int PICKER = 1;
private static final int PICKER_LEGACY = 3;
final String DEFAULT_MIME_TYPES = "*/*";
private Uri outputFileUri;
private static Uri outputFileUri;
protected static final FrameLayout.LayoutParams FULLSCREEN_LAYOUT_PARAMS = new FrameLayout.LayoutParams(
ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT, Gravity.CENTER);