test-runner: Add an exported flag in manifest

With b/150232615, we will need an explicit value set for the exported
flag when intent filters are present, as the default behavior is
changing for S+. This change adds the value reflecting the previous
default to the manifest.

Bug: 150232615
Test: TH
Change-Id: I041de56cfab67e2851751be65d26cfe80cdb9cb2
This commit is contained in:
Ashwini Oruganti
2020-03-10 16:20:04 -07:00
parent 72fcef13fa
commit cace20f8e6

View File

@@ -20,7 +20,8 @@
<application>
<uses-library android:name="android.test.runner" />
<activity android:name="android.test.StubTestBrowserActivity"
android:label="Stubbed Test Browser">
android:label="Stubbed Test Browser"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.FOR_TESTS_ONLY"/>
@@ -28,7 +29,8 @@
</activity>
<activity android:name="android.test.TestBrowserTests"
android:label="Test Browser Tests">
android:label="Test Browser Tests"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.UNIT_TEST"/>