commit | 8771cf4067886247726517709de9c33767707466 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Fri Feb 19 16:45:14 2016 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Fri Feb 19 16:46:37 2016 -0700 |
tree | 91adcbd063e54ad8d8100aa4d05a2c7bff09e89f | |
parent | ecad73bf7dfd67a3a78b9610d76719b794926010 [diff] |
Stop PFD finalizer from closing developer sockets. When creating a PFD, it takes ownership of the underlying FD and its finalizer will try closing the FD once we return from our tagging methods. To prevent the unwanted close, we detach the FD, but we need to wait until after the tagging operation has taken place, since it needs a real FileDescriptor object. Bug: 27274605 Change-Id: I6e5eb031bb354d4f9fe0f2c523ee817ce687c437