summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Marzia Favaro <marziana@google.com> 2023-09-28 12:27:16 +0000
committer Marzia Favaro <marziana@google.com> 2023-10-18 08:39:11 +0000
commite88db8a6de05a542cb822c2595b8be94fda1a5d8 (patch)
treef0bf598b4eabc8a205c8225b19aac43711d613a1 /libs/androidfw/ZipFileRO.cpp
parent430fa41d32e51944654dac5e2f48fc57576aba2f (diff)
Ensure dim layer not going away when changing activity
Given two activities A and B requesting dim, if B opens on top of activity A, we need to make sure that we don't fade out and in again the dim layer, as this causes useless animations. To do this, we need to ensure that during the closure of A and the opening of B, there is always a visible container with the dim, which means that A will keep the dim until B is fully visible. A practical example in which this was failing, was the transition ChooserActivityLauncher -> InstallStaging -> PackageInstallerActivity when installing an app from an on-device .apk Test: DimmerTests Bug: 295291019 Bug: 281632483 Change-Id: I18b1c9c8051147ca15b2e7087a8a48336cdf76ed
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions