Merge "Add an exported flag in integration tests manifest"

This commit is contained in:
Treehugger Robot
2020-05-19 09:32:39 +00:00
committed by Gerrit Code Review

View File

@@ -16,6 +16,7 @@
* limitations under the License. * limitations under the License.
*/ */
--> -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.server.net.integrationtests"> package="com.android.server.net.integrationtests">
@@ -41,13 +42,15 @@
Remove the NetworkStackService from the base (real) manifest, and replace with a test Remove the NetworkStackService from the base (real) manifest, and replace with a test
service that responds to the same intent --> service that responds to the same intent -->
<service android:name=".TestNetworkStackService" <service android:name=".TestNetworkStackService"
android:process="com.android.server.net.integrationtests.testnetworkstack"> android:process="com.android.server.net.integrationtests.testnetworkstack"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.net.INetworkStackConnector.Test"/> <action android:name="android.net.INetworkStackConnector.Test"/>
</intent-filter> </intent-filter>
</service> </service>
<service android:name=".NetworkStackInstrumentationService" <service android:name=".NetworkStackInstrumentationService"
android:process="com.android.server.net.integrationtests.testnetworkstack"> android:process="com.android.server.net.integrationtests.testnetworkstack"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name=".INetworkStackInstrumentation"/> <action android:name=".INetworkStackInstrumentation"/>
</intent-filter> </intent-filter>