summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetManager2.cpp
diff options
context:
space:
mode:
author Joanne Chung <joannechung@google.com> 2023-08-03 10:52:25 +0000
committer Joanne Chung <joannechung@google.com> 2023-08-04 05:15:12 +0000
commit03a3b6a4bfdf2ca991c09b8d991d1f5856a8af8e (patch)
treea855331b3cfc56da75f348d632cb35e1c7713cdf /libs/androidfw/AssetManager2.cpp
parentd2522efd0f6f7ed58af9ef93b23ee1b325972b3f (diff)
Finish PIA if UnknownSourcesListener would like to start a PIA again
when starting PIA in UnknownSourcesListener, the start flags we used doesn't work for multiple user case, it will cause the two APIs in the task. Because the caller may use startActivityForResult, it makes the PackageInstaller cannot in the seperate task to resolve the above limitation. To avoid multiple PIAs in the task, PIA will finish itself if UnknownSourcesListener would like to start a PIA again. Bug: 202942446 Test: atest CtsPackageInstallTestCases Test: manual. The issue flow is resolved. Test: manual. Normal install flow that will trigger unknown source flow. Change-Id: Icfce5b79b1cf356015b908f5c3ac44a488707dd7
Diffstat (limited to 'libs/androidfw/AssetManager2.cpp')
0 files changed, 0 insertions, 0 deletions