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

Commit 7c79f126 authored by Yuyang Huang's avatar Yuyang Huang Committed by Automerger Merge Worker
Browse files

Merge "Fix ASHA isValidDevice check" am: b26d09cf

parents 2786fed5 b26d09cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -908,7 +908,7 @@ public final class BluetoothHearingAid implements BluetoothProfile {
        }
        }
        final IBluetoothHearingAid service = getService();
        final IBluetoothHearingAid service = getService();
        AdvertisementServiceData result = null;
        AdvertisementServiceData result = null;
        if (service == null || !isEnabled() || isValidDevice(device)) {
        if (service == null || !isEnabled() || !isValidDevice(device)) {
            Log.w(TAG, "Proxy not attached to service");
            Log.w(TAG, "Proxy not attached to service");
            if (DBG) {
            if (DBG) {
                log(Log.getStackTraceString(new Throwable()));
                log(Log.getStackTraceString(new Throwable()));