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

Commit d1a29277 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Support PBAP for get/close profile proxy" am: 3e3f8bc0 am: 80e13d59 am: 870ca866

Change-Id: Icd8f45c4d19b92e9249240625ed392dd8f2cdaa4
parents 27314001 870ca866
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2670,6 +2670,9 @@ public final class BluetoothAdapter {
        } else if (profile == BluetoothProfile.PAN) {
            BluetoothPan pan = new BluetoothPan(context, listener);
            return true;
        } else if (profile == BluetoothProfile.PBAP) {
            BluetoothPbap pbap = new BluetoothPbap(context, listener);
            return true;
        } else if (profile == BluetoothProfile.HEALTH) {
            Log.e(TAG, "getProfileProxy(): BluetoothHealth is deprecated");
            return false;
@@ -2742,6 +2745,10 @@ public final class BluetoothAdapter {
                BluetoothPan pan = (BluetoothPan) proxy;
                pan.close();
                break;
            case BluetoothProfile.PBAP:
                BluetoothPbap pbap = (BluetoothPbap) proxy;
                pbap.close();
                break;
            case BluetoothProfile.GATT:
                BluetoothGatt gatt = (BluetoothGatt) proxy;
                gatt.close();