summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Patrick Baumann <patb@google.com> 2023-07-28 22:48:08 +0000
committer Ivan Chiang <chiangi@google.com> 2023-08-17 05:54:54 +0000
commit917f02221653e456d83bf58cdfd7f86a54789909 (patch)
tree455402945e386774736385e40c7bcc82c0d55346 /libs/androidfw/ZipFileRO.cpp
parent838ba32966e4e9146a814666a3fedda78f958a34 (diff)
Fixes update ownership preapproval flow
This change sets the package name when computing commit preapproval reason. Previously, with the package name unavailable that path would not be able to look up the existing package and so wouldn't know the owner. Additionally, if the installer required user action, the wrong dialog would have been displayed when the update ownership dialog should have been. This fixes both issues. Add new change id to check whether the build includes the fix or not. If the change is disabled, it means the build includes the fix. If the build doesn't include the change id, when the caller checks the change, it is enabled. Bug: 293644536 Test: atest PreapprovalInstallTest UpdateOwnershipEnforcementTest Change-Id: I210fe1bb13a2096eb7e087806298ed1d4fa4905d Merged-In: I210fe1bb13a2096eb7e087806298ed1d4fa4905d
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions