diff options
| author | 2024-05-09 17:46:52 +0000 | |
|---|---|---|
| committer | 2024-05-31 05:53:59 +0000 | |
| commit | 46a6de1c9260b1f3debaa24f5080b0b7c40c6060 (patch) | |
| tree | 66bb5e4e130e7655e5131ccfa88e270c5c0f58d4 /libs/androidfw/StringPool.cpp | |
| parent | 8c2551219f4e40fa0267a5c09ebe8730243ea01b (diff) | |
Prevent the hub from recomposing while opening a timer activity
Create a flow `isCommunalContentFlowFrozen` to pause the emission of
communalContent flow. The freeze only happens if we last transitioned
to hub, keyguard is occluded and isAbleToDream is false as a new activity
is about to show on top.
Bug: b/338052219
Flag: com.android.systemui.communal_hub
Test: manually add a timer via voice and the grid doesn't re-flow
Test: atest CommunalViewModelTest
Change-Id: Ic0bea11e848da6820e44404005397b161bd88a7e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions