diff options
| author | 2022-03-09 19:40:15 +0000 | |
|---|---|---|
| committer | 2022-03-09 19:40:15 +0000 | |
| commit | 62ca047aadf0eb9a4d4eac6de65beb5f3545c783 (patch) | |
| tree | f5ab13778cbe846e0ef8e66cb8adb459e50f5b08 | |
| parent | af74a2e50ca2d3e049ef579e064bdff841f75da5 (diff) | |
| parent | 96ffe56c8946069e58623531d3e3a17b05d994c4 (diff) | |
Merge "Rename MANAGE_WIFI_AUTO_JOIN to MANAGE_WIFI_NETWORK_SELECTION" into tm-dev
| -rw-r--r-- | core/api/current.txt | 3 | ||||
| -rw-r--r-- | core/res/AndroidManifest.xml | 12 |
2 files changed, 13 insertions, 2 deletions
diff --git a/core/api/current.txt b/core/api/current.txt index ec87591918bd..a3d3bfc7054d 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -113,8 +113,9 @@ package android { field public static final String MANAGE_MEDIA = "android.permission.MANAGE_MEDIA"; 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 @Deprecated 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 MANAGE_WIFI_NETWORK_SELECTION = "android.permission.MANAGE_WIFI_NETWORK_SELECTION"; 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 e3dba2122584..becac7f96428 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1901,11 +1901,21 @@ <!-- Allows applications to enable/disable wifi auto join. This permission is used to let OEMs grant their trusted app access to a subset of privileged wifi APIs to improve wifi performance. - <p>Not for use by third-party applications. --> + <p>Not for use by third-party applications. + @deprecated will be replaced with MANAGE_WIFI_NETWORK_SELECTION --> <permission android:name="android.permission.MANAGE_WIFI_AUTO_JOIN" android:protectionLevel="signature|privileged|knownSigner" android:knownCerts="@array/wifi_known_signers" /> + <!-- This permission is used to let OEMs grant their trusted app access to a subset of + privileged wifi APIs to improve wifi performance. Allows applications to manage + Wi-Fi network selection related features such as enable or disable global auto-join, + modify connectivity scan intervals, and approve Wi-Fi Direct connections. + <p>Not for use by third-party applications. --> + <permission android:name="android.permission.MANAGE_WIFI_NETWORK_SELECTION" + android:protectionLevel="signature|privileged|knownSigner" + android:knownCerts="@array/wifi_known_signers" /> + <!-- Allows applications to get notified when a Wi-Fi interface request cannot be satisfied without tearing down one or more other interfaces, and provide a decision whether to approve the request or reject it. |