diff options
| author | 2022-12-20 07:03:38 +0000 | |
|---|---|---|
| committer | 2022-12-22 09:52:01 +0000 | |
| commit | 265cdc3a689c05ccf11a0e3840beaba94bb425ae (patch) | |
| tree | fa925e9be8bc6d5d87ca489febd08e6df05a83af /libs/androidfw/AssetsProvider.cpp | |
| parent | 13459ada3a7c525619acec451044d9c5973d2f9d (diff) | |
[ShellTransit] Reset alpha in buildFinishTransaction
The alpha of a window container can be 0 after it play a fade-out app
transition, (e.g. start/finish activity with overridePendingTransition)
And since there doesn't have another animation layer like legacy
transition do, that window will stay invisible because of alpha=0,
unless somewhere trigger another animation with apply a new alpha on it.
Also it won't able to receive touch event since the alpha is 0.
To make it visible, always reset the alpha to 1 in
buildFinishTransaction.
Bug: 263439418
Test: manual, finish activity with an overridePendingTransition which
apply fade-out animation for the entering one, the activity should be
visible after animation finish.
Change-Id: I5be555e33b76aa799e1f96b3ea340d365bad4c66
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions