Fix NullPointerException after taking a photo by a camera app on Android.

This commit is contained in:
AAkira 2020-08-19 19:41:58 +09:00
parent 56e0f30928
commit 40a02b4ba9
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);