summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Daniel Norman <danielnorman@google.com> 2023-05-31 23:07:36 +0000
committer Daniel Norman <danielnorman@google.com> 2023-06-01 13:06:32 -0700
commitfe61b556505e6d88263070af8bb799b291ed0b29 (patch)
tree224e9156a00eb4489fceda297545e7940e0b3e61 /libs/androidfw/StringPool.cpp
parent5b77c3c822d81e0b08ca6c2fc682179766c1f5ce (diff)
Attempt v2 of "Disables non-system AccessibilityMenu for secondary users."
Re-landing of commit 43cd49fa855a723a13613eacba391bebf28044c0 but uses createContextAsUser instead of createPackageContextAsUser. createPackageContextAsUser looks up the package info for non-system packages, which caused a boottime regression for A11yManagerService from 5ms to ~40ms. This new version has no regression and functions the same for our purposes. Bug: 284196235 Test: Create secondary user, observe only one Accessibility Menu entry in Settings > Accessibility. Test: v2/android-crystalball-eng/asit/perf/boottime_test locally and with go/abtd Change-Id: I8410d818891690d9d3307897b168b94125d41b16
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions