commit | 12a06ce6ea907cac974a909d0921e6f74d538d1a | [log] [tgz] |
---|---|---|
author | Arthur Hung <arthurhung@google.com> | Mon Jul 22 15:35:17 2019 +0800 |
committer | Arthur Hung <arthurhung@google.com> | Fri Jul 26 19:14:17 2019 +0800 |
tree | b24f689da670a2c6439fcf3d7af3e2b1f205417d | |
parent | 4cc42f5ac6a44b08edb0d61bed122f9d98104eb3 [diff] |
Dispose InputChannel when dispose InputEventReceiver There would be an error if an InputChannel didn't be disposed before finalized. The client InputChannel created by ViewRootImpl or SystemUI that would also create an InputEventReceiver to receive input events, and hold the client InputChannel, so if the InputEventReceiver is going to be disposed, the InputChannel should be disposed as well. Test: manual Bug: 128679213 Change-Id: I24c16f032403e8a982a84a5e0adbfabcdc016f0f