Add the testOnly flag to test_com.android.server

Bug: 203198541
Test: Patch aosp/1925695 and run `atest ApexSystemServicesTestCases`.
Change-Id: Iaf759191c165c5c874d301566fd0ae1b45644936
This commit is contained in:
Jiakai Zhang
2022-01-05 13:58:13 +00:00
parent 1cd3bfd430
commit c1c43d67b5

View File

@@ -18,7 +18,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="test_com.android.server">
<!-- APEX does not have classes.dex -->
<application android:hasCode="false">
<application android:hasCode="false" android:testOnly="true">
<apex-system-service
android:name="com.android.server.testing.FakeApexSystemService"
android:path="/apex/test_com.android.server/javalib/FakeApexSystemService.jar"