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

Skip to content
Commit 891ef69f authored by Yi-an Chen's avatar Yi-an Chen
Browse files

Add unit tests for AppIdPermissionPolicy

Add tests for onPackageUninstalled(), onStorageVolumeAdded() and
onUserAdded() for AppIdPermissionPolicy

These functions have some similar logic to the previously added
onPackageAdded() and resetRuntimePermissions(). Hence refactored and
parameterized the tests.

Bug: 280853174
Test: AppIdPermissionPolicyTest
Change-Id: Id21aded723e454710a4fdc0d15e5f555524341a2
parent 99c86797
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