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

Commit 3ff6c95a authored by William Escande's avatar William Escande Committed by Gerrit Code Review
Browse files

Merge "Delay Bluetooth Start"

parents d521be5b 8f616733
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();
        }
    }