From 2738294d2ca744cbaa07e44f6ec9ab730f784cf1 Mon Sep 17 00:00:00 2001 From: Hai Shalom Date: Wed, 19 Jan 2022 16:51:06 -0800 Subject: Add permission MANAGE_WIFI_INTERFACES Add a new permission for system apps to get notified about Wi-Fi interface requests that require tearing down other interfaces, and allow them to approve or reject the request. Bug: 202813108 Test: compiles Change-Id: Iee9e00ea56c2d0fb73cb5ec22d50be3e5c6ccb3e --- core/api/current.txt | 1 + core/res/AndroidManifest.xml | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/core/api/current.txt b/core/api/current.txt index 24538198ca83..efa162ccf4e3 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -112,6 +112,7 @@ package android { field public static final String MANAGE_ONGOING_CALLS = "android.permission.MANAGE_ONGOING_CALLS"; field public static final String MANAGE_OWN_CALLS = "android.permission.MANAGE_OWN_CALLS"; field public static final String MANAGE_WIFI_AUTO_JOIN = "android.permission.MANAGE_WIFI_AUTO_JOIN"; + field public static final String MANAGE_WIFI_INTERFACES = "android.permission.MANAGE_WIFI_INTERFACES"; field public static final String MASTER_CLEAR = "android.permission.MASTER_CLEAR"; field public static final String MEDIA_CONTENT_CONTROL = "android.permission.MEDIA_CONTENT_CONTROL"; field public static final String MODIFY_AUDIO_SETTINGS = "android.permission.MODIFY_AUDIO_SETTINGS"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 2d0466bd93cf..4d13cbaa0fda 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1904,6 +1904,13 @@ + + +