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

Commit 1bdf26ef authored by Fabián Kozynski's avatar Fabián Kozynski
Browse files

Use setQsExpanded to start expansion early

If isQsExpanded is true, it means that we are either in QS or expanding
to QS. In that case, have a minimum for the expansion value of 1e-5 so
compose will start expanding things and listening in QS. This causes
listening to trigger one frame earlier in the CUJ.

We only do this for the purposes of STL. For listening in QS, we wait
for the expansion to be greater than this.

Test: manual, perfetto
Test: atest QSFragmentComposeViewModelTest
Flag: com.android.systemui.qs_compose_fragment_early_expansion
Bug: 414856236

Change-Id: I7096693f517f91659fc27c335f87579733f2e13f
parent 90f7051e
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