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

Commit 9b00bec6 authored by Christopher Tate's avatar Christopher Tate
Browse files

Offload boot-complete broadcast by default

Move the boot-completion broadcast to the separate "offload" dispatch
queue by default, so that it no longer blocks other user-interactability
broadcast dependencies such as widget lifecycle traffic.

Bug: 208747905
Test: Boot device, observe `dumpsys activity broadcasts`
Change-Id: I26c0966294f50cd42f2c96eb86b606a8f855d552
parent d75cc075
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2333,7 +2333,7 @@ public class ActivityManagerService extends IActivityManager.Stub
        offloadConstants.SLOW_TIME = Integer.MAX_VALUE;
        mEnableOffloadQueue = SystemProperties.getBoolean(
                "persist.device_config.activity_manager_native_boot.offload_queue_enabled", false);
                "persist.device_config.activity_manager_native_boot.offload_queue_enabled", true);
        mFgBroadcastQueue = new BroadcastQueue(this, mHandler,
                "foreground", foreConstants, false);