Loading android/app/src/com/android/bluetooth/pbap/BluetoothPbapService.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -769,6 +769,7 @@ public class BluetoothPbapService extends ProfileService implements IObexConnect if (permission == BluetoothDevice.ACCESS_ALLOWED) { if (permission == BluetoothDevice.ACCESS_ALLOWED) { setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_ALLOWED); setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_ALLOWED); stateMachine.sendMessage(PbapStateMachine.AUTHORIZED); } else if (permission == BluetoothDevice.ACCESS_REJECTED) { } else if (permission == BluetoothDevice.ACCESS_REJECTED) { stateMachine.sendMessage(PbapStateMachine.REJECTED); stateMachine.sendMessage(PbapStateMachine.REJECTED); } else { // permission == BluetoothDevice.ACCESS_UNKNOWN } else { // permission == BluetoothDevice.ACCESS_UNKNOWN Loading Loading
android/app/src/com/android/bluetooth/pbap/BluetoothPbapService.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -769,6 +769,7 @@ public class BluetoothPbapService extends ProfileService implements IObexConnect if (permission == BluetoothDevice.ACCESS_ALLOWED) { if (permission == BluetoothDevice.ACCESS_ALLOWED) { setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_ALLOWED); setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_ALLOWED); stateMachine.sendMessage(PbapStateMachine.AUTHORIZED); } else if (permission == BluetoothDevice.ACCESS_REJECTED) { } else if (permission == BluetoothDevice.ACCESS_REJECTED) { stateMachine.sendMessage(PbapStateMachine.REJECTED); stateMachine.sendMessage(PbapStateMachine.REJECTED); } else { // permission == BluetoothDevice.ACCESS_UNKNOWN } else { // permission == BluetoothDevice.ACCESS_UNKNOWN Loading