Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Revert "Implement delayed event synthesis key event handling for Android (#19024)" #19956

Merged
merged 1 commit into from
Jul 22, 2020

Conversation

gspencergoog
Copy link
Contributor

Description

This reverts commit 8825f91 because it breaks flutter_gallery__back_button_memory and a customer test.

…oid (flutter#19024)"

This reverts commit 8825f91 because it breaks flutter_gallery__back_button_memory and a customer test.
@gspencergoog gspencergoog merged commit 18200e7 into flutter:master Jul 22, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 23, 2020
gspencergoog added a commit that referenced this pull request Aug 28, 2020
…oid (#20736)

This re-lands the key event synthesis implementation for Android (Original PR: #19024, Revert PR: #19956). The only difference is sending the synthesized key events to the root view instead of the current view.

Without sending it to the root view, the system doesn't have any chance of handling keys like the back button. The event will still not be sent to the framework twice, since we turn off event propagation while re-dispatching the event.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants