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

Commit 9baabab3 authored by Riley Jones's avatar Riley Jones
Browse files

Adds a measure to A11yManagerService#switchUser to avoid switching to profiles

Runs the userId input through a function that replaces it with a parent userId, if one exists.
This prevents manager from switching to a profile userId, which would end up using the wrong settings.

Bug: 393626471
Test: atest AccessibilityManagerTest
Flag: com.android.server.accessibility.manager_lifecycle_user_change
Change-Id: I709392fac48b7d5b30ff6cca19e5c710b6d748ad
parent 34eaed1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment