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

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

Merge "Delay Bluetooth Start" am: 3ff6c95a

parents 7f5362d7 3ff6c95a
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -49,8 +49,12 @@ class BluetoothService extends SystemService {
        if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) {
            publishBinderService(BluetoothAdapter.BLUETOOTH_MANAGER_SERVICE,
                    mBluetoothManagerService);
        } else if (phase == SystemService.PHASE_ACTIVITY_MANAGER_READY &&
                !UserManager.isHeadlessSystemUserMode()) {
        }
    }

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