commit | 717e53a6a7dbb35191e83cf801e8896b84c2a172 | [log] [tgz] |
---|---|---|
author | Vadim Caen <caen@google.com> | Mon Jan 24 18:13:12 2022 +0100 |
committer | Vadim Caen <caen@google.com> | Wed Feb 02 22:08:02 2022 +0100 |
tree | 72d51b1c0e8d82cb1302e7c52cba34c3e8af18e2 | |
parent | 35afd7651af21414630a4ffc9ca94ef9874b891d [diff] |
Save the OnBackInvokedCallback in WindowState This CL enable OnBackInvokedCallback to be saved in a WindowState and queried by the BackNavigationController to be returned when ATM.startBackNavigation() is called. The DecorView provides a PendingOnBackInvokedDispatcher that can receive callback registration before being added to a ViewRootImpl. Test: atest FrameworksCoreTests:BackNavigationTest Bug: 131727607 Change-Id: I01528a22ea4a6583a56ade4eab69136d727855d0