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
Loading
Please register or sign in to comment