[Settings] MobileNetworkActivity Refactor
Split MobileNetworkActivity into 2 files.
Enable testing through ActivityScenario
Bug: 141833767
Test: manual
make RunSettingsRoboTests -j ROBOTEST_FILTER=MobileNetworkActivityTest
make RunSettingsRoboTests -j ROBOTEST_FILTER=ActiveSubsciptionsListenerTest
Change-Id: I9f0f80f5edda53196ce0795113506495e8980e99
diff --git a/tests/robotests/Android.bp b/tests/robotests/Android.bp
index 4920e11..96372be 100644
--- a/tests/robotests/Android.bp
+++ b/tests/robotests/Android.bp
@@ -31,6 +31,9 @@
"androidx-constraintlayout_constraintlayout-solver",
"androidx.lifecycle_lifecycle-runtime",
"androidx.lifecycle_lifecycle-extensions",
+ "androidx.test.core",
+ "androidx.test.runner",
+ "androidx.test.ext.junit",
"guava",
"jsr305",
"settings-contextual-card-protos-lite",
@@ -61,7 +64,7 @@
"SettingsLib-robo-testutils",
],
- java_resource_dirs: ["config"],
+ java_resource_dirs: ["config", "resources"],
instrumentation_for: "SettingsRoboTestStub",