Merge "Tethering: Add an exported flag in manifest" into rvc-dev am: ddbe63e44c

Change-Id: Icc13f39dc779d7432d95c07aedbcf1bc5d756078
This commit is contained in:
Mark Chien
2020-04-14 01:50:18 +00:00
committed by Automerger Merge Worker
2 changed files with 4 additions and 2 deletions

View File

@@ -44,7 +44,8 @@
android:extractNativeLibs="false" android:extractNativeLibs="false"
android:persistent="true"> android:persistent="true">
<service android:name="com.android.server.connectivity.tethering.TetheringService" <service android:name="com.android.server.connectivity.tethering.TetheringService"
android:permission="android.permission.MAINLINE_NETWORK_STACK"> android:permission="android.permission.MAINLINE_NETWORK_STACK"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.net.ITetheringConnector"/> <action android:name="android.net.ITetheringConnector"/>
</intent-filter> </intent-filter>

View File

@@ -24,7 +24,8 @@
<application> <application>
<service android:name="com.android.server.connectivity.tethering.TetheringService" <service android:name="com.android.server.connectivity.tethering.TetheringService"
android:process="system" android:process="system"
android:permission="android.permission.MAINLINE_NETWORK_STACK"> android:permission="android.permission.MAINLINE_NETWORK_STACK"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.net.ITetheringConnector.InProcess"/> <action android:name="android.net.ITetheringConnector.InProcess"/>
</intent-filter> </intent-filter>