Merge "Rename NetworkStackPermissionStub"

This commit is contained in:
Remi NGUYEN VAN
2019-04-02 00:10:19 +00:00
committed by Android (Google) Code Review
4 changed files with 7 additions and 7 deletions

View File

@@ -16,7 +16,7 @@
// Stub APK to define permissions for NetworkStack
android_app {
name: "NetworkStackPermissionStub",
name: "NetworkPermissionConfig",
// TODO: mark app as hasCode=false in manifest once soong stops complaining about apps without
// a classes.dex.
srcs: ["src/**/*.java"],

View File

@@ -17,7 +17,7 @@
*/
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.networkstack.permissionstub"
package="com.android.networkstack.permissionconfig"
android:sharedUserId="android.uid.networkstack"
android:versionCode="11"
android:versionName="Q-initial">
@@ -36,5 +36,5 @@
<permission android:name="android.permission.MAINLINE_NETWORK_STACK"
android:protectionLevel="signature"/>
<application android:name="com.android.server.NetworkStackPermissionStub"/>
<application android:name="com.android.server.NetworkPermissionConfig"/>
</manifest>

View File

@@ -19,8 +19,8 @@ package com.android.server;
import android.app.Application;
/**
* Empty application for NetworkStackStub that only exists because soong builds complain if APKs
* have no source file.
* Empty application for NetworkPermissionConfig that only exists because
* soong builds complain if APKs have no source file.
*/
public class NetworkStackPermissionStub extends Application {
public class NetworkPermissionConfig extends Application {
}

View File

@@ -53,7 +53,7 @@ java_defaults {
proguard_flags_files: ["proguard.flags"],
},
// The permission configuration *must* be included to ensure security of the device
required: ["NetworkStackPermissionStub"],
required: ["NetworkPermissionConfig"],
}
// Non-updatable network stack running in the system server process for devices not using the module