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

Skip to content
Commit feace42e authored by Steve Elliott's avatar Steve Elliott
Browse files

Reduce NICRefactor load on main dispatcher

Main thread load is reduced via three tacks:

1. Offload as much computation as possible to the bg thread dispatcher.

2. Share Flows where possible. This is performed in the view-binder
where we know that states will be observed by multiple collectors, so we
can optimize by sharing using stateIn.

3. Remove any unnecessary upstream Flows, to reduce excessive
recomputation.

Tracing has also been added to help diagnose future performance issues,
if any arise.

Bug: 317509049
Flag: ACONFIG com.android.systemui.notifications_icon_container_refactor TEAMFOOD
Test: atest SystemUITests
Change-Id: I90e1cfc3ab24c75ec15a1e14952b880829f17471
parent 2d1d2cce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment