Skip to content
Commit 9a7dd1c0 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. Fetch the latest value ACCESSIBILITY_BUTTON_MODE when needed.

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