Migrate shadows/playservices to AndroidX
diff --git a/shadows/playservices/build.gradle b/shadows/playservices/build.gradle
index df8c753..c3abbba 100644
--- a/shadows/playservices/build.gradle
+++ b/shadows/playservices/build.gradle
@@ -16,7 +16,7 @@
api project(":annotations")
api "com.google.guava:guava:$guavaJREVersion"
- compileOnly "com.android.support:support-fragment:28.0.0"
+ compileOnly "androidx.fragment:fragment:1.2.0"
compileOnly "com.google.android.gms:play-services-base:8.4.0"
compileOnly "com.google.android.gms:play-services-basement:8.4.0"
@@ -30,7 +30,7 @@
testImplementation "junit:junit:$junitVersion"
testImplementation "com.google.truth:truth:$truthVersion"
testImplementation "org.mockito:mockito-core:$mockitoVersion"
- testRuntimeOnly "com.android.support:support-fragment:28.0.0"
+ testRuntimeOnly "androidx.fragment:fragment:1.2.0"
testRuntimeOnly "com.google.android.gms:play-services-base:8.4.0"
testRuntimeOnly "com.google.android.gms:play-services-basement:8.4.0"
diff --git a/shadows/playservices/src/main/java/org/robolectric/shadows/gms/ShadowGooglePlayServicesUtil.java b/shadows/playservices/src/main/java/org/robolectric/shadows/gms/ShadowGooglePlayServicesUtil.java
index e2f9dcd..deb738b 100644
--- a/shadows/playservices/src/main/java/org/robolectric/shadows/gms/ShadowGooglePlayServicesUtil.java
+++ b/shadows/playservices/src/main/java/org/robolectric/shadows/gms/ShadowGooglePlayServicesUtil.java
@@ -7,7 +7,7 @@
import android.content.DialogInterface.OnCancelListener;
import android.content.Intent;
import android.content.res.Resources;
-import android.support.v4.app.Fragment;
+import androidx.fragment.app.Fragment;
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GooglePlayServicesUtil;
import com.google.common.base.Preconditions;