Merge "Move SysUI boot-complete event earlier" into tm-qpr-dev am: 06191a4c6e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20509295

Change-Id: I7579b9d4f9fa6c07232bde3db5a5ccabb0605854
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot
2022-11-19 00:09:20 +00:00
committed by Automerger Merge Worker

View File

@@ -113,7 +113,8 @@ public class SystemUIApplication extends Application implements
setTheme(R.style.Theme_SystemUI); setTheme(R.style.Theme_SystemUI);
if (Process.myUserHandle().equals(UserHandle.SYSTEM)) { if (Process.myUserHandle().equals(UserHandle.SYSTEM)) {
IntentFilter bootCompletedFilter = new IntentFilter(Intent.ACTION_BOOT_COMPLETED); IntentFilter bootCompletedFilter = new
IntentFilter(Intent.ACTION_LOCKED_BOOT_COMPLETED);
bootCompletedFilter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); bootCompletedFilter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY);
// If SF GPU context priority is set to realtime, then SysUI should run at high. // If SF GPU context priority is set to realtime, then SysUI should run at high.