1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-03 17:02:13 +01:00

BtLEQueue: add null check in onMtuChanged for mWaitForActionResultLatch

This commit is contained in:
MrYoranimo 2024-01-10 23:41:54 +01:00 committed by José Rebelo
parent 98e8ec2329
commit ac1991104b

View File

@ -583,8 +583,10 @@ public final class BtLEQueue {
getCallbackToUse().onMtuChanged(gatt, mtu, status);
}
if (mWaitForActionResultLatch != null) {
mWaitForActionResultLatch.countDown();
}
}