fix(lint android): Add TargetAPI to onPermissionRequest (#940)
This commit is contained in:
parent
9d42878704
commit
0b783da0a4
|
@ -837,6 +837,7 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fix WebRTC permission request error.
|
// Fix WebRTC permission request error.
|
||||||
|
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
|
||||||
@Override
|
@Override
|
||||||
public void onPermissionRequest(final PermissionRequest request) {
|
public void onPermissionRequest(final PermissionRequest request) {
|
||||||
String[] requestedResources = request.getResources();
|
String[] requestedResources = request.getResources();
|
||||||
|
|
Loading…
Reference in New Issue