Improve systemui unlockscreen jank issue
- In VisualStabilityCoordinator, ensure sure setting
mPipelineRunAllowedis false when the notification is not visible
after unlock to avoid unnecessary building notification list that
blocks the UI thread
- Send notifyRendererOfExpensiveFrame to raise CPU work load when
drawing notification shade window
- Refining WindowRootView#applyMargins performance to layout at once
after all children's margins has updated
Flag: com.android.systemui.check_lockscreen_gone_transition
Bug: 358301118
Test: atest VisualStabilityCoordinatorTest
Test: run PTS cuj test for testing sysui unlock screen by local command
./sysui_unlockscreen.sh -i 5 -w
Change-Id: I61f1dad2dc9485f043c53a8900f1fae2e8ea1187
diff --git a/packages/SystemUI/aconfig/systemui.aconfig b/packages/SystemUI/aconfig/systemui.aconfig
index b57629f..391a272 100644
--- a/packages/SystemUI/aconfig/systemui.aconfig
+++ b/packages/SystemUI/aconfig/systemui.aconfig
@@ -1446,3 +1446,13 @@
purpose: PURPOSE_BUGFIX
}
}
+
+flag {
+ name: "check_lockscreen_gone_transition"
+ namespace: "systemui"
+ description: "Run notification pipeline when the lockscreen is not in gone transition for avoiding janky frames during unlocking animation"
+ bug: "358301118"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}