RESTRICT AUTOMERGE Fix make Bluetooth discoverable without additional permission
- Only enable device can be discoverable when the user launch
"Connected Devices settings" through settings and systemui
Test: make -j42 RunSettingsRoboTests and use test apk to manually test
to verify the device is not discoversable when open "Connected settings"
through test apk.
(cherry picked from commit d3abbb9821dca627c49b15185109150c79597549)
(cherry picked from commit b1adf980a58479affaae3476ea80d7f1b0d27138)
3 files changed