diff options
| author | 2024-04-26 11:36:58 +0000 | |
|---|---|---|
| committer | 2024-04-26 11:57:50 +0000 | |
| commit | a326efd404b0b780daae6dfb637fe24eaeea87ce (patch) | |
| tree | ad0d670d5e865baae89f71738c2a34235c86f97b /libs/androidfw/StringPool.cpp | |
| parent | 5e899586fa7687045b70c5920cad7afce7600520 (diff) | |
Fix flickering notifs...
... and leaking animator. The smartspace view animator could be
leaked when going to/from AOD while the clock transition was
running. This left a predraw listener attached forever, and was
most noticeably causing flicker on notifications.
It turns out there's no guarantee that an animator underlying a
transition will end, which left the predraw listener attached.
Using a TransitionListener instead seems to be more reliable.
Fixes: 334528077
Fixes: 332979277
Test: Repeatedly switch between large and small clocks with
and without media. Observe traces to ensure no predraw
listener remains attached.
Flag: N/A
Change-Id: Iac51bdde8de524a8ad95bfd116e2eeb55cd47eeb
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions