summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorarthurhung <arthurhung@google.com>2020-04-28 09:19:24 +0800
committerarthurhung <arthurhung@google.com>2020-05-07 11:11:13 +0800
commit03d65a72748a03e07c677911eeae325cd03cbf96 (patch)
tree0f3cbf9136d6d8e0c04839d1b12d597bdfb17e9c /tools/aapt2/java/JavaClassGenerator.cpp
parent73407d6559f4cfbe3579772a2aef385509409d15 (diff)
Fix consumer closed input channel cause an error occurred (1/2)
An input channel specifies the file descriptors used to send input events to a window in another process. And All of the file descriptors open in the calling process shall be closed when process terminated. The server side could receive the socket broken event when the process terminated, we should do the unregister channel before close the file descriptor or do it automatically without error if there is no valid window. - Change the order that remove window before dispose the receiver. - Unregister input channel when windowless window removed. Bug: 133782251 Test: open app and exit by back key or recent apps, check if any error log occurs. Change-Id: I59d0084c2c771544e7ee226ce53c574f60c6b988
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions