`android.permission.BLUETOOTH_PRIVILEGED` is a reserved permission
时间: 2023-12-09 07:05:30 浏览: 112
Android permission
in Android. What is its purpose and why is it reserved?
The `android.permission.BLUETOOTH_PRIVILEGED` permission is reserved for system components that need access to the Bluetooth stack. This permission grants privileged access to the Bluetooth hardware, allowing the component to perform operations such as pairing, bonding, and creating a Bluetooth socket. It is reserved to prevent malicious apps from gaining unauthorized access to the Bluetooth hardware and potentially compromising the device's security. Additionally, this permission is only granted to system components as it's not appropriate to grant it to third-party apps due to its privileged nature.
阅读全文