commit | 7a0c39a5b46bbb8f2e7b869c642078e892d4804c | [log] [tgz] |
---|---|---|
author | Arthur Hung <arthurhung@google.com> | Wed Mar 20 16:52:24 2019 +0800 |
committer | Arthur Hung <arthurhung@google.com> | Fri Mar 22 18:14:29 2019 +0800 |
tree | 0dbccb8e489d3977be760d85e206b86baac08047 | |
parent | ebb52c5ac8b95637f5048b993aad88253cd85205 [diff] |
Make InputApplicationInfo as a part of InputApplicationHandle (1/2) InputWindowHandle::updateInfo would also call InputApplicationHandle::updateInfo that may access the null pointer if the focus application changed in same time. - To replace allocated mInfo in updateInfo(), make it as an object member variable of InputApplicationHandle. Bug: 128930899 Test: atest inputflinger_tests Change-Id: Id19d2d8cd1be181ea994d0efa7afbb2567c4d734