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

Commit 725829c9 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 7490979 from 173286e254d1064e45bac997bf596a468e8038b6 to sc-release

Change-Id: I9a8aa2c1fe35739488479e8f854ba4037d9ccb43
parents 6c39575f fe3d6da4
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3054,6 +3054,9 @@ public final class BluetoothAdapter {
                return true;
            }
            return false;
        } else if (profile == BluetoothProfile.LE_AUDIO) {
            BluetoothLeAudio leAudio = new BluetoothLeAudio(context, listener, this);
            return true;
        } else {
            return false;
        }
@@ -3142,6 +3145,10 @@ public final class BluetoothAdapter {
            case BluetoothProfile.HEARING_AID:
                BluetoothHearingAid hearingAid = (BluetoothHearingAid) proxy;
                hearingAid.close();
                break;
            case BluetoothProfile.LE_AUDIO:
                BluetoothLeAudio leAudio = (BluetoothLeAudio) proxy;
                leAudio.close();
        }
    }