commit | e7dc50171975a310305394f0d863e8cf63946bf6 | [log] [tgz] |
---|---|---|
author | Arthur Hung <arthurhung@google.com> | Wed Mar 20 17:04:26 2019 +0800 |
committer | Arthur Hung <arthurhung@google.com> | Fri Mar 22 18:13:46 2019 +0800 |
tree | 9dc4aa7d245e958a0c2520376f9bf59431eea521 | |
parent | d4b81682e120bd5d45d086916b7e4e94ff335a03 [diff] |
Make InputApplicationInfo as a part of InputApplicationHandle (2/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: I7494527be8ae7e76bea672c3dc33380aef07b057