Nathan Harold b548d251b7 Prevent Closure of Underlying Socket FDs
The version of applyTransportModeTransform() and
removeTransportModeTransform() that accepted
Socket and DatagramSocket were closing the underlying
FDs upon return. It's unclear whether this is due to
a behavior change elsewhere in ParcelFileDescriptor,
but either way, converting to using getFileDescriptor$
and then calling dup() explicitly rather than relying
on ParcelFileDescriptor seems like a better idea anyway.

Bug: 72047396
Test: CTS - IpSecManagerTest.testCreateTransform()
Change-Id: Ia2f02564e1289f25bf113dbb861fcfd2240537a7
2018-01-16 21:30:20 -08:00
2018-01-16 11:08:31 -08:00
2017-12-14 17:36:18 +00:00
2017-07-10 19:00:27 +00:00
2017-12-14 09:45:16 -08:00
2018-01-09 14:44:10 -08:00
2018-01-16 11:08:31 -08:00
2018-01-16 19:38:10 -08:00
2017-11-20 11:13:48 -08:00
2018-01-03 12:42:01 -08:00
2018-01-05 17:40:27 -08:00
Description
No description provided
5.1 GiB
Languages
Java 77.3%
Kotlin 9.2%
PowerBuilder 6.6%
C++ 5.5%
AIDL 1%