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

Commit d582a916 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Remove InputChannel from WindowState

We don't need to store the inputchannel inside the WindowState. When a
window is closed, the WM is already calling "removeInputChannel" into
the dispatcher, which would close the fd on the dispatcher side (destroy
the server-side channel), and thus notify the app that the channel is
closed. We don't need to dispose the InputChannel.

Long-term, we will attempt to remove the InputChannel::dispose
functionality.

Bug: 323450804
Test: opened apps and then relaunched them from recents
Flag: com.android.input.flags.remove_input_channel_from_windowstate
Change-Id: Id447bc987683e1bb580572010b21ae3e766e859c
parent a9b54179
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