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

Bug: 194695497
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.

Change-Id: Ia04ab759b737acf30b782f5c5831dd59f25fb257
(cherry picked from commit d3abbb9821dca627c49b15185109150c79597549)
(cherry picked from commit b1adf980a58479affaae3476ea80d7f1b0d27138)
Merged-In:Ia04ab759b737acf30b782f5c5831dd59f25fb257
3 files changed