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

Commit d0c50dd0 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Change sync manager init timing back to PHASE_ACTIVITY_MANAGER_READY

Bug: 73350582
Test: boot
Test: atest CtsSyncManagerTest
Change-Id: Ib4948af473d9381882d30c03a63a306b73204704
parent f9a02975
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -300,7 +300,7 @@ public final class ContentService extends IContentService.Stub {

    void onBootPhase(int phase) {
        switch (phase) {
            case SystemService.PHASE_SYSTEM_SERVICES_READY:
            case SystemService.PHASE_ACTIVITY_MANAGER_READY:
                getSyncManager();
                break;
        }
+2 −2
Original line number Diff line number Diff line
@@ -747,9 +747,9 @@ public class SyncManager {
    }

    public void onBootPhase(int phase) {
        // Note SyncManager only receives PHASE_SYSTEM_SERVICES_READY and after.
        // Note SyncManager only receives PHASE_ACTIVITY_MANAGER_READY and after.
        switch (phase) {
            case SystemService.PHASE_SYSTEM_SERVICES_READY:
            case SystemService.PHASE_ACTIVITY_MANAGER_READY:
                mConstants.start();
                break;
        }