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

Commit c63f2985 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Automerger Merge Worker
Browse files

Merge "Guard against start/stop race conditions." into sc-dev am: 6c667955

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Bluetooth/+/15287651

Change-Id: Ic461d244e40ebd89aeba4ae92c640050919e6380
parents e239bfab 6c667955
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -303,8 +303,10 @@ public class BluetoothKeystoreService {
        stopThread();
        startThread();
        // Initialize native interface
        if (mBluetoothKeystoreNativeInterface != null) {
            mBluetoothKeystoreNativeInterface.init();
        }
    }

    private boolean isAvailable() {
        return !mCleaningUp;