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

Commit 59204786 authored by Evan Chen's avatar Evan Chen Committed by Android (Google) Code Review
Browse files

Merge "Make checkBleState a none blocking call." into main

parents d04f7b37 d1a8d4d4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -241,7 +241,8 @@ class BleDeviceProcessor implements AssociationStore.OnChangeListener {
        final BroadcastReceiver receiver = new BroadcastReceiver() {
            @Override
            public void onReceive(Context context, Intent intent) {
                checkBleState();
                // Post to the main thread to make sure it is a Non-Blocking call.
                new Handler(Looper.getMainLooper()).post(() -> checkBleState());
            }
        };