summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorBenedict Wong <benedictwong@google.com>2018-04-02 18:12:34 -0700
committerBenedict Wong <benedictwong@google.com>2018-04-03 17:04:55 -0700
commitd175a3d3a01cfdb5ab6d4e61d15950583f8006d6 (patch)
tree9d83a11990bdd0b2749d5c3b849004f33054f6db /tools/aapt2/java/JavaClassGenerator.cpp
parente34c426fd346d041176c83393bb78abfd49f6e9f (diff)
Force creation of Socket upon Transform application
This change forces Socket and DatagramSocket to populate the SocketImpl, ensuring that the socket file descriptor can be retrieved when applying Transport mode Transforms This is done by calling getSoLinger(), triggering a getImpl(), which triggers setImpl() if needed. Bug: 77491294 Test: Added tests in IpSecManagerTest, ran on walleye Change-Id: I40da08b031357710eb794e0f866aec5660c79594
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions