commit | ceeb5d7d1d107b50954ad82194371536e371f0ad | [log] [tgz] |
---|---|---|
author | Arthur Hung <arthurhung@google.com> | Wed Dec 05 16:14:18 2018 +0800 |
committer | Arthur Hung <arthurhung@google.com> | Thu Dec 06 11:53:53 2018 +0800 |
tree | 51a5fad88620b34f620509e3a01c2f49185ae6fb | |
parent | 2afae6d99f9e3d897496c35c07e4b57fd733e9be [diff] |
Fix NPE in InputDispacher by enabling debug logs InputDispatcher will manage input channels and input windows. Once some input channel unregistered, there is a chance to find the corresponded target before setInputWindow. Then input channel of input target would access the null pointer. Bug: 120307496 Test: Enable debug log, run monkey test serveral times. Test: atest inputflinger_tests Change-Id: Ia7b36e0732e0ac6c825f3910fd02b1cdbbf85161