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

Skip to content
Commit 80d00eca authored by TYM Tsai's avatar TYM Tsai
Browse files

Fix the problem of missing signature permissions

Moving dexopt out of the package freezer so that the installer
executes setUpdatedSystemApp() before notifying the package updated,
that causes the permission service not granting signature
permission again.
To resolve this issue, restore the flag after dexopt and then set it
again after notified the package updated.

Bug: 321139675
Flag: android.content.pm.improve_install_freeze
Test: atest com.google.android.apps.nexuslauncher.imagecomparison.WidgetHomeScreenTest
Test: atest CtsPackageManagerTestCases
Test: atest CtsInstallHostTestCases
Test: atest CtsCompilationTestCases
Change-Id: Ia67fc343f8f5bd2f78dad1110a322106c937c666
parent c1eb4481
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment