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

Commit 1c91d3c1 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 4605948 from ce3f5d00f953203442dfbe07841d1c36a4eba00f to pi-release

Change-Id: Ic9f6a9f833e8022a85cc58d0d5ccf9c18e245d01
parents 7a3be83d cda8c1fc
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2307,6 +2307,9 @@ public final class BluetoothAdapter {
        } else if (profile == BluetoothProfile.HID_DEVICE) {
            BluetoothHidDevice hidDevice = new BluetoothHidDevice(context, listener);
            return true;
        } else if (profile == BluetoothProfile.HEARING_AID) {
            BluetoothHearingAid hearingAid = new BluetoothHearingAid(context, listener);
            return true;
        } else {
            return false;
        }
@@ -2389,6 +2392,9 @@ public final class BluetoothAdapter {
                BluetoothHidDevice hidDevice = (BluetoothHidDevice) proxy;
                hidDevice.close();
                break;
            case BluetoothProfile.HEARING_AID:
                BluetoothHearingAid hearingAid = (BluetoothHearingAid) proxy;
                hearingAid.close();
        }
    }