summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Anna Bauza <annabauza@google.com> 2024-07-10 12:17:53 +0000
committer Anna Bauza <annabauza@google.com> 2024-07-10 12:17:53 +0000
commit65423958dec4e2fcca51826fe85e54316063050b (patch)
tree3e9842485a0b52c817693154c00e616953da44eb /libs/hwui/FrameInfoVisualizer.cpp
parent38d30647e60eff7e39feb2addc8dd4d37f13b9ae (diff)
Fix high volume of binder calls in ContentProvider.
ContentProvider.getUserIdFromAuthority can return USER_NULL when it can't parse auth as int, which can cause high volume of binder calls. This CL fixes this issue by avoiding calling into system server for invalid user ids. This CL also fixes a bug in UserManager.getUserProperties where it can throw an exception when the user id is not supported. This CL fixes this issue by throwing an IllegalArgumentException instead. This CL is a part of the effort to reduce the number of binder calls in the system server. Bug: 350416200 Change-Id: Ied72302db0c141fe9ff398009331ce44a0fad2e7 Test: atest com.android.server.pm.UserManagerTest Flag: android.multiuser.cache_user_serial_number
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions