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

Commit b1d338f1 authored by Vaibhav Devmurari's avatar Vaibhav Devmurari
Browse files

(4/n) Shift to oneway binder call for register key handler

handleKeyGestureEvent() is synchronous API that makes system server
dependent on handler and can cause ANR if handlers misbehave.
As a replacement, handlers should provide list of gesture they want
to listen to. For consistency, we only allow single handler per
gesture.

Test: atest InputTests
Test: atest WmTests
Test: Presubmit
Bug: 358569822
Bug: 383602794
Flag: EXEMPT refactor
Change-Id: Iea0f6ba3360ed241e19f0265d6ab28fd7889aafa
parent 20380db5
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