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

Commit 75d70bd2 authored by William Escande's avatar William Escande
Browse files

SystemService: Ensure code is running on handler

Bug: 288450479
Test: m service-bluetooth
Test: boot Bluetooth
Change-Id: I4db790166e1906e137c8ddcd3b2fd1d7555ba596
parent b9052671
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1480,6 +1480,10 @@ class BluetoothManagerService {
     * PHASE_SYSTEM_SERVICES_READY.
     */
    void handleOnBootPhase() {
        mHandler.post(() -> internalHandleOnBootPhase());
    }

    private void internalHandleOnBootPhase() {
        if (DBG) {
            Log.d(TAG, "Bluetooth boot completed");
        }