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

Skip to content
Commit ab1a7193 authored by Kevin Jeon's avatar Kevin Jeon
Browse files

Move permission-by-UID check earlier

StartPackageManager during boot has a short flurry of binder activity,
which is caused by a per-package call to ActivityManager.getService().
ActivityManager.getService() only returns null at this stage in boot, so
moving up the root/system UID check to occur before getService() saves
some time.

Test: build, boot, verify boot time improvement
Bug: 383159377
Change-Id: I3f873e09f291c385d6844be87f4c211eab657dbe
parent 340592dd
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