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

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

Merge "Fix devicePresence no callback after reboot" into main

parents ddd99bb7 9116e28f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -223,8 +223,8 @@ public class CompanionDeviceManagerService extends SystemService {
            // delays (even in case of the Main Thread). It may be fine overall, but would require
            // updating the tests (adding a delay there).
            mPackageMonitor.register(context, FgThread.get().getLooper(), UserHandle.ALL, true);
            mDevicePresenceProcessor.init(context);
        } else if (phase == PHASE_BOOT_COMPLETED) {
            mDevicePresenceProcessor.init(context);
            // Run the Inactive Association Removal job service daily.
            InactiveAssociationsRemovalService.schedule(getContext());
            mCrossDeviceSyncController.onBootCompleted();