diff options
author | 2023-10-06 12:15:01 +0000 | |
---|---|---|
committer | 2023-11-30 20:34:33 +0000 | |
commit | b81e181cc5581e2acb174bcf1687c61efd741786 (patch) | |
tree | d8bcbae94c88bb72c8ac5f920bee277f15b38519 /libs/androidfw/FileStream.cpp | |
parent | 0fae78d434c3347b25fdb83dd696820f44291c66 (diff) |
Improve surface visibility recovering with transition
For example:
1. A transition contains an incorrect info which will set X
to be invisible.
2. When the transition is playing, set the surface of X to
visible directly if there is no collecting transition.
3. The transition of step 1 finishes, which applies invisible
to X, then the recovering of step 2 doesn't help.
So it will be more robust to recover until the playing transitions
are finished. Then it can also cover some cases of other visibility
validators.
Bug: 303613521
Test: Finish several activities when switching display.
The surface of foreground activity and its parent should
keep visible.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3fc49ae16be0c421a9afa6fcfaa5d771747f059d)
Merged-In: I2ecb714ef0eaf94f8950bd4cd3857abfb1c46fbc
Change-Id: I2ecb714ef0eaf94f8950bd4cd3857abfb1c46fbc
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions