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

Commit 23cdffd0 authored by William Escande's avatar William Escande Committed by Automerger Merge Worker
Browse files

Merge "Delay Bluetooth Start" into tm-dev am: a409e029

parents 8826a9c4 a409e029
Loading
Loading
Loading
Loading
+6 −2
Original line number Original line Diff line number Diff line
@@ -50,8 +50,12 @@ public class BluetoothService extends SystemService {
        if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) {
        if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) {
            publishBinderService(BluetoothAdapter.BLUETOOTH_MANAGER_SERVICE,
            publishBinderService(BluetoothAdapter.BLUETOOTH_MANAGER_SERVICE,
                    mBluetoothManagerService);
                    mBluetoothManagerService);
        } else if (phase == SystemService.PHASE_ACTIVITY_MANAGER_READY &&
        }
                !UserManager.isHeadlessSystemUserMode()) {
    }

    @Override
    public void onUserStarting(@NonNull TargetUser user) {
        if (!UserManager.isHeadlessSystemUserMode()) {
            initialize();
            initialize();
        }
        }
    }
    }