diff options
author | 2024-12-10 20:17:43 -0500 | |
---|---|---|
committer | 2024-12-13 09:05:03 -0500 | |
commit | ab1a7193a071a5e6fb78bc8d76e1e717f7fc9c37 (patch) | |
tree | 9dc57bd85e0689ec4555023efc3126f8926a422d /tools/aapt2/ResourceParser.cpp | |
parent | 340592ddbd66874539a0952eda1ecc3d5a30b1e0 (diff) |
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
Diffstat (limited to 'tools/aapt2/ResourceParser.cpp')
0 files changed, 0 insertions, 0 deletions