mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 11:41:08 +00:00
fix(lint android): Add TargetAPI to onPermissionRequest (#940)
This commit is contained in:
committed by
Thibault Malbranche
parent
9d42878704
commit
0b783da0a4
@@ -837,6 +837,7 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
|
||||
}
|
||||
|
||||
// Fix WebRTC permission request error.
|
||||
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
|
||||
@Override
|
||||
public void onPermissionRequest(final PermissionRequest request) {
|
||||
String[] requestedResources = request.getResources();
|
||||
|
||||
Reference in New Issue
Block a user