Add permission to protect data when sending broadcast
This CL before, DevicePickerFragment didn't check the whether 3rd-party app have Bluetooth permission before sending broadcast. It's will cause the 3rd-party app can get Bluetooth device information without request permission. This CL will send broadcast with Bluetooth permission that make sure the receiver who have Bluetooth permission can get this Bluetooth device infomation. Bug: 161716630 Test: verify on test apk to confirm that not showing mac address. Change-Id: I6662dc38b3491e5ee467058dd74863ecac27cdd7
Loading
Please register or sign in to comment