Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 917f0222 authored by Patrick Baumann's avatar Patrick Baumann Committed by Ivan Chiang
Browse files

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
parent 838ba329
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment