Loading
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