From 3590ccd3fb857c68e4c9cabbde3cd58150c0f85b Mon Sep 17 00:00:00 2001 From: Chiachang Wang Date: Mon, 17 Feb 2020 14:44:59 +0800 Subject: [PATCH] Add NETWORK_SETTINGS to SystemApi The permissions are checked by Tethering; mainline modules should be able to do permission checks based on these permissions. Bug: 135411507 Test: m Test: make test-api-stubs-docs-update-current-api \ system-api-stubs-docs-update-current-api Change-Id: Ia617ea56aba18f98371d7dbd546679e0327bfacd --- api/test-current.txt | 1 + core/res/AndroidManifest.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/test-current.txt b/api/test-current.txt index 0a821e405980d..79d29f6e906fa 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -15,6 +15,7 @@ package android { field public static final String MANAGE_ACTIVITY_STACKS = "android.permission.MANAGE_ACTIVITY_STACKS"; field public static final String MANAGE_CRATES = "android.permission.MANAGE_CRATES"; field public static final String MANAGE_ROLLBACKS = "android.permission.MANAGE_ROLLBACKS"; + field public static final String NETWORK_SETTINGS = "android.permission.NETWORK_SETTINGS"; field public static final String NETWORK_STACK = "android.permission.NETWORK_STACK"; field public static final String READ_CELL_BROADCASTS = "android.permission.READ_CELL_BROADCASTS"; field public static final String REMOVE_TASKS = "android.permission.REMOVE_TASKS"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index b2047ad819fc8..6530036f940c1 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1656,7 +1656,7 @@