Skip to content
Commit f5f459ac authored by jasonwshsu's avatar jasonwshsu
Browse files

Fix error config for accessibility floating menu under multi-users

Root cause:
1. Write settingsKey / sharedPerference for accessibility floating menu only for main user.
2. Did not update the current ACCESSIBILITY_BUTTON_MODE when switching user.

Solution:
1. Accessibiltiy floating menu will be handled by AccessibilityFloatngMenuController, so it can use correct user conext (createContextAsUser) to handle it.
2. Update correct ACCESSIBILITY_BUTTON_MODE when receiving intent ACTION_USER_SWITCHED.

Bug: 184609652
Bug: 191416421
Bug: 191337987
Bug: 191325208
Test: manual test
Change-Id: I4086b3a8b82c461f9368b58d6d390a661dd27f19
parent f555a8a0
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