Skip to content

Commit 0e1ad81

Browse files
committed
Remove unnecessary import and add line space to geolocation routine
1 parent bac7570 commit 0e1ad81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/reactnativecommunity/webview/RNCWebChromeClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
import java.util.ArrayList;
4141
import java.util.Collections;
4242
import java.util.List;
43-
import java.net.URI;
4443

4544
public class RNCWebChromeClient extends WebChromeClient implements LifecycleEventListener {
4645
protected static final FrameLayout.LayoutParams FULLSCREEN_LAYOUT_PARAMS = new FrameLayout.LayoutParams(
@@ -233,6 +232,7 @@ private void runDelayed(Runnable function, long delayMillis) {
233232

234233
@Override
235234
public void onGeolocationPermissionsShowPrompt(String origin, GeolocationPermissions.Callback callback) {
235+
236236
if (ContextCompat.checkSelfPermission(this.mWebView.getThemedReactContext(), Manifest.permission.ACCESS_FINE_LOCATION)
237237
!= PackageManager.PERMISSION_GRANTED) {
238238

0 commit comments

Comments
 (0)