diff options
author | jasonwshsu <jasonwshsu@google.com> | 2021-06-22 15:22:27 +0800 |
---|---|---|
committer | jasonwshsu <jasonwshsu@google.com> | 2021-06-23 23:14:45 +0800 |
commit | 9a7dd1c069f409d45a13e7c2807488f4df96a8df (patch) | |
tree | 3001613de83b81fc4c05441af2870bd7dcd78448 /libs/hwui/WebViewFunctorManager.cpp | |
parent | c4bb8a2620891c5f55b80acc04958783548c1c8d (diff) |
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
Diffstat (limited to 'libs/hwui/WebViewFunctorManager.cpp')
0 files changed, 0 insertions, 0 deletions