Loading packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java +6 −1 Original line number Diff line number Diff line Loading @@ -834,7 +834,12 @@ public final class CachedBluetoothDevice implements Comparable<CachedBluetoothDe // The pairing dialog now warns of phone-book access for paired devices. // No separate prompt is displayed after pairing. if (getPhonebookPermissionChoice() == CachedBluetoothDevice.ACCESS_UNKNOWN) { if (mDevice.getBluetoothClass().getDeviceClass() == BluetoothClass.Device.AUDIO_VIDEO_HANDSFREE) { setPhonebookPermissionChoice(CachedBluetoothDevice.ACCESS_ALLOWED); } else { setPhonebookPermissionChoice(CachedBluetoothDevice.ACCESS_REJECTED); } } } } Loading Loading
packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java +6 −1 Original line number Diff line number Diff line Loading @@ -834,7 +834,12 @@ public final class CachedBluetoothDevice implements Comparable<CachedBluetoothDe // The pairing dialog now warns of phone-book access for paired devices. // No separate prompt is displayed after pairing. if (getPhonebookPermissionChoice() == CachedBluetoothDevice.ACCESS_UNKNOWN) { if (mDevice.getBluetoothClass().getDeviceClass() == BluetoothClass.Device.AUDIO_VIDEO_HANDSFREE) { setPhonebookPermissionChoice(CachedBluetoothDevice.ACCESS_ALLOWED); } else { setPhonebookPermissionChoice(CachedBluetoothDevice.ACCESS_REJECTED); } } } } Loading