Fix: DozeUi scheduling alarms causing jank on wakeup
Passing the background handler while instantiating AlarmTimeout class so that all its calls will be executed in background.
Test: Manual
Flag: android.systemui.Flags.dozeuiSchedulingAlarmsBackgroundExecution disabled
Bug: 330492575
Change-Id: Ic8ceeb93c9b5607693807d022dd2376465da99e7
diff --git a/packages/SystemUI/aconfig/systemui.aconfig b/packages/SystemUI/aconfig/systemui.aconfig
index 3310cfa..bf925ba 100644
--- a/packages/SystemUI/aconfig/systemui.aconfig
+++ b/packages/SystemUI/aconfig/systemui.aconfig
@@ -1033,3 +1033,13 @@
purpose: PURPOSE_BUGFIX
}
}
+
+flag {
+ name: "dozeui_scheduling_alarms_background_execution"
+ namespace: "systemui"
+ description: "Decide whether to execute binder calls to schedule alarms in background thread"
+ bug: "330492575"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}