summaryrefslogtreecommitdiff
path: root/libs/hwui/AutoBackendTextureRelease.cpp
diff options
context:
space:
mode:
author Kevin Jeon <kevinjeon@google.com> 2024-12-10 20:17:43 -0500
committer Kevin Jeon <kevinjeon@google.com> 2024-12-13 09:05:03 -0500
commitab1a7193a071a5e6fb78bc8d76e1e717f7fc9c37 (patch)
tree9dc57bd85e0689ec4555023efc3126f8926a422d /libs/hwui/AutoBackendTextureRelease.cpp
parent340592ddbd66874539a0952eda1ecc3d5a30b1e0 (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 'libs/hwui/AutoBackendTextureRelease.cpp')
0 files changed, 0 insertions, 0 deletions