mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
BtLEQueue: add null check in onMtuChanged for mWaitForActionResultLatch
This commit is contained in:
parent
98e8ec2329
commit
ac1991104b
@ -583,8 +583,10 @@ public final class BtLEQueue {
|
|||||||
getCallbackToUse().onMtuChanged(gatt, mtu, status);
|
getCallbackToUse().onMtuChanged(gatt, mtu, status);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mWaitForActionResultLatch != null) {
|
||||||
mWaitForActionResultLatch.countDown();
|
mWaitForActionResultLatch.countDown();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user