summaryrefslogtreecommitdiff
path: root/tests/activity
diff options
context:
space:
mode:
author Mark Renouf <mrenouf@google.com> 2024-03-13 11:56:03 -0400
committer Mark Renouf <mrenouf@google.com> 2024-03-13 13:23:31 -0400
commit167aa370fff6f0eab40aecdcc47da2f1fc4732db (patch)
treebd8684e4b46e153cf2046511bf7f4445d8686d96 /tests/activity
parentd1ae7ca0448256313c9923d880af21ef128f65a9 (diff)
Switch imports to new InstrumentationRegistry
This is an automated internal cleanup replacing a deprecated test API with the new replacement. Bug: 300157408 Test: m IntentResolver-tests-unit IntentResolver-tests-activity Change-Id: I40add8018db3126845649c617e4f7235e7e2e976
Diffstat (limited to 'tests/activity')
-rw-r--r--tests/activity/src/com/android/intentresolver/ResolverActivityTest.java2
-rw-r--r--tests/activity/src/com/android/intentresolver/UnbundledChooserActivityWorkProfileTest.java2
-rw-r--r--tests/activity/src/com/android/intentresolver/v2/ResolverActivityTest.java2
-rw-r--r--tests/activity/src/com/android/intentresolver/v2/UnbundledChooserActivityWorkProfileTest.java2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/activity/src/com/android/intentresolver/ResolverActivityTest.java b/tests/activity/src/com/android/intentresolver/ResolverActivityTest.java
index dde2f980..05d397a2 100644
--- a/tests/activity/src/com/android/intentresolver/ResolverActivityTest.java
+++ b/tests/activity/src/com/android/intentresolver/ResolverActivityTest.java
@@ -49,7 +49,7 @@ import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;
-import androidx.test.InstrumentationRegistry;
+import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.espresso.Espresso;
import androidx.test.espresso.NoMatchingViewException;
import androidx.test.rule.ActivityTestRule;
diff --git a/tests/activity/src/com/android/intentresolver/UnbundledChooserActivityWorkProfileTest.java b/tests/activity/src/com/android/intentresolver/UnbundledChooserActivityWorkProfileTest.java
index da879f74..12def1de 100644
--- a/tests/activity/src/com/android/intentresolver/UnbundledChooserActivityWorkProfileTest.java
+++ b/tests/activity/src/com/android/intentresolver/UnbundledChooserActivityWorkProfileTest.java
@@ -44,7 +44,7 @@ import android.companion.DeviceFilter;
import android.content.Intent;
import android.os.UserHandle;
-import androidx.test.InstrumentationRegistry;
+import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.espresso.NoMatchingViewException;
import androidx.test.rule.ActivityTestRule;
diff --git a/tests/activity/src/com/android/intentresolver/v2/ResolverActivityTest.java b/tests/activity/src/com/android/intentresolver/v2/ResolverActivityTest.java
index 993f1760..21fe2904 100644
--- a/tests/activity/src/com/android/intentresolver/v2/ResolverActivityTest.java
+++ b/tests/activity/src/com/android/intentresolver/v2/ResolverActivityTest.java
@@ -49,7 +49,7 @@ import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;
-import androidx.test.InstrumentationRegistry;
+import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.espresso.Espresso;
import androidx.test.espresso.NoMatchingViewException;
import androidx.test.rule.ActivityTestRule;
diff --git a/tests/activity/src/com/android/intentresolver/v2/UnbundledChooserActivityWorkProfileTest.java b/tests/activity/src/com/android/intentresolver/v2/UnbundledChooserActivityWorkProfileTest.java
index 92037ec9..8d83773e 100644
--- a/tests/activity/src/com/android/intentresolver/v2/UnbundledChooserActivityWorkProfileTest.java
+++ b/tests/activity/src/com/android/intentresolver/v2/UnbundledChooserActivityWorkProfileTest.java
@@ -44,7 +44,7 @@ import android.companion.DeviceFilter;
import android.content.Intent;
import android.os.UserHandle;
-import androidx.test.InstrumentationRegistry;
+import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.espresso.NoMatchingViewException;
import androidx.test.rule.ActivityTestRule;