summaryrefslogtreecommitdiff
path: root/libs/input/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Arthur Hung <arthurhung@google.com> 2018-10-26 18:05:34 +0800
committer Arthur Hung <arthurhung@google.com> 2018-11-06 12:20:12 +0800
commit3b413f202de8a0bde465cd92d0265eb98f5a479f (patch)
tree41804a3394a254357a43cf9897b5c4b038b29775 /libs/input/KeyLayoutMap.cpp
parent5011b5957049b5ba19fff997add156d32a12007c (diff)
Make InputWindowInfo as a part of InputWindowHandle (1/2)
All over InputDispatcher, we are accessing InputWindowInfo from InputWindowHandle through the api getInfo(). It's dangerous without checking the result is null. - To replace allocated mInfo in updateInfo(), make it as an object member variable of InputWindowHandle. - Change releaseInfo to releaseChannel to release input channel immediately. - Add displayId information for logs so we can find out the problems should belong to which display. Bug: 112616659 Test: atest inputflinger_tests Test: Manually enable debug logs Change-Id: I5770f296e3feab4919fe775bab20ef6346f05295
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions