From aa00b6c294b6bb536b97e1b9537143ff20b04bbd Mon Sep 17 00:00:00 2001 From: Etan Cohen Date: Thu, 21 Jan 2021 16:42:56 -0800 Subject: [PATCH] [WIFI] New permission to control restart of the WiFi subsystem Bug: 175084231 Bug: 178125790 Test: atest android.net.wifi.cts.WifiManagerTest#testRestartWifiSubsystem Test: atest android.permission2.cts.PermissionPolicyTest#platformPermissionPolicyIsUnaltered Change-Id: Iec9b579da912a105c46b2cb129bc625655124f52 --- core/api/system-current.txt | 1 + core/res/AndroidManifest.xml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/core/api/system-current.txt b/core/api/system-current.txt index b3e78ab7377af..2a2b799816c37 100644 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -217,6 +217,7 @@ package android { field public static final String REQUEST_NETWORK_SCORES = "android.permission.REQUEST_NETWORK_SCORES"; field public static final String REQUEST_NOTIFICATION_ASSISTANT_SERVICE = "android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE"; field public static final String RESET_PASSWORD = "android.permission.RESET_PASSWORD"; + field public static final String RESTART_WIFI_SUBSYSTEM = "android.permission.RESTART_WIFI_SUBSYSTEM"; field public static final String RESTORE_RUNTIME_PERMISSIONS = "android.permission.RESTORE_RUNTIME_PERMISSIONS"; field public static final String RESTRICTED_VR_ACCESS = "android.permission.RESTRICTED_VR_ACCESS"; field public static final String RETRIEVE_WINDOW_CONTENT = "android.permission.RETRIEVE_WINDOW_CONTENT"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 397552969c311..1b9455cb9f44d 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1744,6 +1744,12 @@ + + +