diff options
| author | 2024-08-21 13:45:37 -0400 | |
|---|---|---|
| committer | 2024-08-23 21:04:55 -0400 | |
| commit | f09ce0b7e7f0ccdba7d42c3d1bf8947ecd642840 (patch) | |
| tree | 35e2f22c9ee3196c05477356436a76c439f5dd7e /libs/androidfw/misc.cpp | |
| parent | 82df6d16d1b29b4594a04c108e6d785405e1e74b (diff) | |
Simplify NotificationScrollViewModel.expandFraction
The only time we actually want to expand the stack is when we're going
from Gone to Shade or Gone to QuickSettings, and we keep running into
bugs where expandFraction accidentally dropped to 0f and the stack
disappeared.
So, rewrite the definition of expandFraction to hardcode the expansion
for most scenes and transitions, and to use the upstream shadeExpansion
(and qsExpansion) only when needed.
Bug: 347769238
Bug: 347762707
Flag: com.android.systemui.scene_container
Test: manual: examine various scene transitions involving the stack
Change-Id: I02fe1a1558614bbf45b21cde06d076dcc9b259b1
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions