Rename NetworkStack package
Set the new name to com.android.networkstack. Also rename the stub APK to com.android.networkstack.permissionstub. Also add shared UID to the NetworkStackPermissionStub to enforce signature restrictions on the UID. Test: booted, WiFi working Bug: 124033493 Change-Id: Id8967db08b7faaa659b20f86f1013493eb0e188f
This commit is contained in:
@@ -199,7 +199,7 @@ applications that come with the platform
|
||||
<permission name="android.permission.USE_RESERVED_DISK"/>
|
||||
</privapp-permissions>
|
||||
|
||||
<privapp-permissions package="com.android.mainline.networkstack">
|
||||
<privapp-permissions package="com.android.networkstack">
|
||||
<permission name="android.permission.ACCESS_NETWORK_CONDITIONS"/>
|
||||
<permission name="android.permission.CHANGE_BACKGROUND_DATA_SETTING"/>
|
||||
<permission name="android.permission.CONNECTIVITY_INTERNAL"/>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.mainline.networkstack"
|
||||
package="com.android.networkstack"
|
||||
android:sharedUserId="android.uid.networkstack">
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
*/
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.mainline.networkstack.permissionstub">
|
||||
package="com.android.networkstack.permissionstub"
|
||||
android:sharedUserId="android.uid.networkstack">
|
||||
<!--
|
||||
This package only exists to define the below permissions, and enforce that they are only
|
||||
granted to apps sharing the same signature.
|
||||
|
||||
Reference in New Issue
Block a user