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

Skip to content
Commit f28754eb authored by Chaohui Wang's avatar Chaohui Wang
Browse files

Split isEssentialPackage() from isSystemPackage()

Please use ApplicationInfo#isSignedWithPlatformKey() to check whether an
app is signed with platform key, instead of loading the signatures.

This is faster, and we also no longer need to load the PackageInfos with
the deprecated flag PackageManager.GET_SIGNATURES.

Bug: 235727273
Test: Unit test
Test: Manually with Settings App
Change-Id: I4d3c103559736b725517acef9bbca6a2c9d62ed6
parent a510d931
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