Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3e11fe69 authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

Moving StickyKeyIndicator to use generic Dialog so it doesn't interfere with home gesture

SystemUIDialog overrides home gesture but we don't want for sticky keys indicator - it should be always on the screen, not reacting to any gestures.
This change wrapes indicator in ComponentDialog from AndroidX which supports compose.

Also logic for creating Dialog itself, configuring window etc is moved to separate StickyKeyDialogFactory so that StickyKeysIndicatorCoordinator is responsible only for hiding/showing and calling factory to create dialog.

Flag: ACONFIG com.android.hardware.input.keyboard_a11y_sticky_keys_flag TRUNKFOOD
Fixes: 322978495
Fixes: 322948031
Test: home gesture does not dismiss indicator and (gesture) still works correctly
Test: triggering assistant is not dismissing indicator
Change-Id: I0466d9bb332b1af5737fad924ba4e18c26fe6286
parent 20e979cb
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