Commit d1c5671052efb8f8f25e7a092fabc21732dd88a4

Authored by wdn127929
1 parent 8376f501

相机关

@@ -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