summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Joanne Chung <joannechung@google.com> 2023-09-15 10:03:18 +0000
committer Joanne Chung <joannechung@google.com> 2023-09-19 10:05:24 +0000
commit2973fdd174fb747eb884d7f40e769c901dd90b25 (patch)
tree5a2dc72322c3f458bfc7efd9427c03481d551c70 /libs/androidfw/FileStream.cpp
parent0283bc86e7ed879a8aed5addaf4a344aea961649 (diff)
Improve PIA dim causing UI flash
When triggering intallation from file browser, the PIA will go with InstallStaging (dim) -> ... -> PackageInstallerActivity (not dim) -> open ExternalSourcesBlockedDialog (dim), this may make UI looks like a flash screen. There is another problem here, when entering PIA, the UI will default shows. If the PIA needs to open a dialog like unknown external source, there is an user-visible odd animation transition here. To improve the problem, we let the InstallStaging without dim. The alert UI will hide if PIA needs to open a dialog. It will show again if the PIA needs it. Bug: 299029375 Test: manual. See go/b299029375_video to see the improved result Change-Id: I6cb969dc8862c5a36cd95fd578f75479a9078940
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions