Sfoglia il codice sorgente

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

Tom Targosz 5 anni fa
parent
commit
0b783da0a4

+ 1
- 0
android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java Vedi File

@@ -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();