Update Bluetooth api on SettingsLib
This CL is used to update Bluetooth api.
- Use getConnectionPolicy() instead of getPriority()
- Use setConnectionPolicy() instead of setPriority()
- Use BluetoothProfile.CONNECTION_POLICY_ALLOWED instead of
BluetoothProfile.PRIORITY_ON
- Use BluetoothProfile.CONNECTION_POLICY_FORBIDDEN instead of
BluetoothProfile.PRIORITY_OFF
Fixes: 141582844
Test: manually
Change-Id: I2d7438d48acde155e2b411fd98cb59961c8d75c1
Merged-In: I2d7438d48acde155e2b411fd98cb59961c8d75c1
11 files changed