diff options
| author | 2023-03-09 17:00:24 +0000 | |
|---|---|---|
| committer | 2023-03-09 17:41:02 +0000 | |
| commit | 8494acd9abb697fb35d26eaf3d2cbd412238ec63 (patch) | |
| tree | 79cf9e3c7b99039865834667961e95d9e29cbb58 /cmds/bootanimation/BootAnimation.cpp | |
| parent | 82c8b4e3d0992d06e4277cd4bc723289635af118 (diff) | |
Change TaskInfo topActivityInSizeCompat to look at visibility
Right now the TaskInfo is looking for the top activity to be resumed and in size compat mode in order to populate topActivityInSizeCompat. We want to change the "resume" to "visible", which will fix a bug where a paused activity that is in size compat mode does not have a visible restart button.
Fix: 271586422
Test: atest WmTests:SizeCompatTests#testTopActivityInSizeCompatMode_pausedAndInSizeCompatMode_returnsTrue
Test: atest WmTests:WindowOrganizerTests#testSizeCompatModeChangedOnFirstOrganizedTask
Change-Id: I56f643210018201f18830d640e786b4fc3c246c8
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions