Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f2f3c8a authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "PBAP: send AUTHORIZED message if permission is ACCESS_ALLOWED" am: 1ebbd2b5 am: dbcf4100

Change-Id: I936af118106c993572932e54d97ec82028dd830b
parents 10e9c8c5 dbcf4100
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -769,6 +769,7 @@ public class BluetoothPbapService extends ProfileService implements IObexConnect

        if (permission == BluetoothDevice.ACCESS_ALLOWED) {
            setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_ALLOWED);
            stateMachine.sendMessage(PbapStateMachine.AUTHORIZED);
        } else if (permission == BluetoothDevice.ACCESS_REJECTED) {
            stateMachine.sendMessage(PbapStateMachine.REJECTED);
        } else { // permission == BluetoothDevice.ACCESS_UNKNOWN