Showing
1 changed file
with
8 additions
and
8 deletions
| @@ -273,14 +273,14 @@ public class FlutterWebChromeClient extends WebChromeClient implements PluginReg | @@ -273,14 +273,14 @@ public class FlutterWebChromeClient extends WebChromeClient implements PluginReg | ||
| 273 | WebViewFlutterPlugin.filePathCallback = callback; | 273 | WebViewFlutterPlugin.filePathCallback = callback; |
| 274 | 274 | ||
| 275 | ArrayList<Parcelable> extraIntents = new ArrayList<>(); | 275 | ArrayList<Parcelable> extraIntents = new ArrayList<>(); |
| 276 | - if (!needsCameraPermission()) { | ||
| 277 | - if (acceptsImages(acceptTypes)) { | ||
| 278 | - extraIntents.add(getPhotoIntent()); | ||
| 279 | - } | ||
| 280 | - if (acceptsVideo(acceptTypes)) { | ||
| 281 | - extraIntents.add(getVideoIntent()); | ||
| 282 | - } | ||
| 283 | - } | 276 | +// if (!needsCameraPermission()) { |
| 277 | +// if (acceptsImages(acceptTypes)) { | ||
| 278 | +// extraIntents.add(getPhotoIntent()); | ||
| 279 | +// } | ||
| 280 | +// if (acceptsVideo(acceptTypes)) { | ||
| 281 | +// extraIntents.add(getVideoIntent()); | ||
| 282 | +// } | ||
| 283 | +// } | ||
| 284 | 284 | ||
| 285 | Intent fileSelectionIntent = getFileChooserIntent(acceptTypes, allowMultiple); | 285 | Intent fileSelectionIntent = getFileChooserIntent(acceptTypes, allowMultiple); |
| 286 | 286 |
-
Please register or login to post a comment