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

This commit is contained in:
Tom Targosz 2019-10-11 03:45:22 -05:00 committed by Thibault Malbranche
parent 9d42878704
commit 0b783da0a4
1 changed files with 1 additions and 0 deletions

View File

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