commit | 722f9dea4a6cfe0d56984d26c93e5f2c5e1cd618 | [log] [tgz] |
---|---|---|
author | Garfield Tan <xutan@google.com> | Mon Sep 14 21:04:00 2020 -0700 |
committer | Garfield Tan <xutan@google.com> | Fri Sep 18 15:16:56 2020 -0700 |
tree | de1ebff7af4cdc54f73fb7bad9784dea89bda380 | |
parent | bea4e46ffbbef60326c8994b8a875847145783f6 [diff] |
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