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

Skip to content
Commit fe61b556 authored by Daniel Norman's avatar Daniel Norman
Browse files

Attempt v2 of "Disables non-system AccessibilityMenu for secondary users."

Re-landing of commit 43cd49fa
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
parent 5b77c3c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment