Quellcode durchsuchen

fix(lint android): Add TargetAPI to onPermissionRequest (#940)

Tom Targosz vor 5 Jahren
Ursprung
Commit
0b783da0a4

+ 1
- 0
android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java Datei anzeigen

@@ -837,6 +837,7 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
837 837
     }
838 838
 
839 839
     // Fix WebRTC permission request error.
840
+    @TargetApi(Build.VERSION_CODES.LOLLIPOP)
840 841
     @Override
841 842
     public void onPermissionRequest(final PermissionRequest request) {
842 843
       String[] requestedResources = request.getResources();