diff options
author | Toni Barzic <tbarzic@google.com> | 2015-09-14 17:44:14 -0700 |
---|---|---|
committer | Toni Barzic <tbarzic@google.com> | 2015-09-29 10:31:08 -0700 |
commit | 94ce21094d7a6289c888492632765d2a83624853 (patch) | |
tree | 2ce346fe82e9799a2edb8e5de4f97738497d1b29 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8c8db072b5849404f6b2f571f49b726a93aac686 (diff) |
Always reload AccessibiiltyInputFilter on user switch
Makes AccessibiilityInputFilter aware of current user ID, and pasess the
user ID to event stream filters that have per-user parameters:
- AutoclickController -> for per-user autoclick delay
- ScreenMagnifier -> for magnification scale
While doing this, make AccessibilityInputFilter.disableFeatures private,
and replace usage in AccessibilityManagerService with
setUserAndEnabledFeatures with feature flags set to 0:
Using disableFatures directly leaves input filter in inconsistent state
where internal mEnabledFeatures flags don't match real state of enabled
features.
BUG=23113412
BUG=24265227
Change-Id: Ib295f4c08de1a3743e55714459844b6d80787637
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions