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

Commit d4e19dc0 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Guard against start/stop race conditions." into sc-dev

parents 7c52b4f8 8d724c3c
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;