Use new create/removeInputChannel().
This way we can restrict server channel in InputFlinger. Also always use std::move() to move ownership when creating Java object for InputChannel. Bug: 167947395 Test: Touch events are still dispatched. Test: WmTests:DisplayPolicyTests#testUpdateHideNavInputEventReceiver Change-Id: I7033caf1015ec4bae65beab2c65bdeb4070f4775
Loading
Please register or sign in to comment