summaryrefslogtreecommitdiff
path: root/libs/input/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Arthur Hung <arthurhung@google.com> 2018-12-05 16:14:18 +0800
committer Arthur Hung <arthurhung@google.com> 2018-12-06 11:53:53 +0800
commitceeb5d7d1d107b50954ad82194371536e371f0ad (patch)
tree51a5fad88620b34f620509e3a01c2f49185ae6fb /libs/input/KeyLayoutMap.cpp
parent2afae6d99f9e3d897496c35c07e4b57fd733e9be (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
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions