diff --git a/android/src/main/java/com/github/reactnativecommunity/location/RNPlayServicesLocationProvider.java b/android/src/main/java/com/github/reactnativecommunity/location/RNPlayServicesLocationProvider.java index 6dbdd3b..1a4de95 100644 --- a/android/src/main/java/com/github/reactnativecommunity/location/RNPlayServicesLocationProvider.java +++ b/android/src/main/java/com/github/reactnativecommunity/location/RNPlayServicesLocationProvider.java @@ -6,8 +6,9 @@ import android.content.IntentSender; import android.content.pm.PackageManager; import android.location.Location; -import android.support.annotation.NonNull; -import android.support.v4.app.ActivityCompat; + +import androidx.annotation.NonNull; +import androidx.core.app.ActivityCompat; import com.facebook.react.bridge.Arguments; import com.facebook.react.bridge.Promise; diff --git a/android/src/main/java/com/github/reactnativecommunity/location/Utils.java b/android/src/main/java/com/github/reactnativecommunity/location/Utils.java index 6059fdc..b66dd63 100644 --- a/android/src/main/java/com/github/reactnativecommunity/location/Utils.java +++ b/android/src/main/java/com/github/reactnativecommunity/location/Utils.java @@ -2,7 +2,7 @@ import android.location.Location; import android.os.Build; -import android.support.annotation.Nullable; +import androidx.annotation.Nullable; import com.facebook.react.bridge.Arguments; import com.facebook.react.bridge.ReactApplicationContext;