diff options
| author | 2025-01-22 13:47:48 +0100 | |
|---|---|---|
| committer | 2025-01-29 12:50:50 +0100 | |
| commit | 497e7df5adae6539fcb07e48401fa2ca160b1cab (patch) | |
| tree | b80220040a46f2214283e18c8c979f222ec50f10 /ravenwood/scripts/extract-last-soong-commands.py | |
| parent | 53d05392162a5b352d3698f356d87f732f6c0d53 (diff) | |
Close and undo guts on configuration changed
If a guts view like snooze options or notification info was exposed when
the theme or the font changed, it would result in a seemingly empty
notification.
Although we had an onDensityOrFontScaleChanged that was supposed to at
least re-bind the guts when the font was changed, this actually did
nothing because when the guts were re-inflated, the "exposed" state of
the guts was getting reset (so this method was never called).
Now we just undo the changes and close the guts, to make sure they look
correct the next time they are opened.
Bug: 379267630
Test: snooze notification and change the theme via QS
Test: long press notification and change theme/font via adb
Test: atest NotificationSnoozeTest NotificationGutsManagerTest
Flag: com.android.systemui.notification_undo_guts_on_config_changed
Change-Id: I7e3caaf8895a3756bb9f4ad4f627cd66d44a8748
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions