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

Skip to content
Commit 0b43aa9c authored by Hai Zhang's avatar Hai Zhang
Browse files

Fix install permission revocation upon source package uninstallation.

The revocation should only be done when the source package is completely
removed, instead of only being marked as uninstalled for certain users.
However, the original code would erroneously take a null pkg parameter
as the package is gone instead of its original meaning that all packages
need to be updated. So simply drop that parameter and get the pkg from
package manager to see if the package is really being completely
removed.

Bug: 206047992
Test: atest RemovePermissionTest
Change-Id: Iabbf045a87cb00b4c27d562ff126570f385f64c1
parent 9e816cb1
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