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

Commit b23c8c8e authored by Vadim Caen's avatar Vadim Caen
Browse files

Add View.findOnBackInvokedDispatcher

To make it easier for developer to migrate away from KEYCODE_BACK
without having to walk up the view hierachy in order to find an
OnBackDispatcher, introduce findOnBackInvokedDispatcher.

Bug: 227301455
Test: android.view.cts.OnBackInvokedDispatcherTest#testGetDispatcherOnView
Change-Id: I7f3e76df596d306fa26d72df8115d5b15d7ac564
parent 924b02bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment