diff options
| author | 2024-01-24 18:00:57 +0000 | |
|---|---|---|
| committer | 2024-01-24 19:29:04 +0000 | |
| commit | 2e1b6610ffe39bcafd87102a56bfc3e5c66a35fa (patch) | |
| tree | e36e266fa6c20bf87cd0f189c8c3626366c63580 /libs/androidfw/ZipFileRO.cpp | |
| parent | cbd3466e9a71789ada376ad1c0261649be95af45 (diff) | |
Listening to setting changes in StickyKeyRepository
Implementing settingEnabled: Flow<Boolean> that listens to changes in
Settings.Secure.ACCESSIBILITY_STICKY_KEYS which means sticky key listener will be
registered only when user turns on the setting - compared to now listening always when
keyboard is connected. Also supporting per-user setting.
Test: StickyKeysIndicatorViewModelTest
Test: StickyKeysRepositoryImplTest
Test: switch between users having enabled/disabled sticky key setting and see if behaviour is correct
Flag: ACONFIG com.android.hardware.input.keyboard_a11y_sticky_keys_flag TRUNKFOOD
Fixes: 319837892
Change-Id: Iebe5d6aa38e633a81d38a0fb95645a91ed2575b7
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions