summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChris Wailes <chriswailes@google.com>2019-04-10 15:55:29 -0700
committerChris Wailes <chriswailes@google.com>2019-04-10 16:45:31 -0700
commitb63a00a6831d5a15803cd422b68408c24135114c (patch)
tree97ec327223d60bcf5535646613a71eeff02e7781 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent45e2c22d7e50dfc6241ec885dcc1cae1da8e9dc2 (diff)
Fix FD leak in the Zygote.
Issues with LocalSocketImpl.close meant that a FD that was supposed to be closed wasn't. This CL switches to using Os.close to ensure that the FD is closed properly. Bug: 130309968 Bug: 130235718 Test: atest android.security.cts.FileDescriptorTest#testCLOEXEC Test: Tested for file existance after Os.close call Change-Id: I80fb3b378f651e71bc1ae9aab8636935a2ff6356 Merged-In: I80fb3b378f651e71bc1ae9aab8636935a2ff6356
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions