Add MainlineTestModuleController to Nearby CTS.
Test: CTS test
Bug: 216634361
Change-Id: If9ba609233f9a9a96e978a8908dd3b0e564c48ed
diff --git a/nearby/tests/cts/fastpair/AndroidTest.xml b/nearby/tests/cts/fastpair/AndroidTest.xml
index 0d55c71..59cc779 100644
--- a/nearby/tests/cts/fastpair/AndroidTest.xml
+++ b/nearby/tests/cts/fastpair/AndroidTest.xml
@@ -27,5 +27,9 @@
<test class="com.android.tradefed.testtype.AndroidJUnitTest" >
<option name="package" value="android.nearby.cts" />
</test>
-
+ <!-- Only run NearbyUnitTests in MTS if the Nearby Mainline module is installed. -->
+ <object type="module_controller"
+ class="com.android.tradefed.testtype.suite.module.MainlineTestModuleController">
+ <option name="mainline-module-package-name" value="com.google.android.tethering" />
+ </object>
</configuration>
\ No newline at end of file