commit | 7a2c62c6a029d7902196714347eddc44267a690d | [log] [tgz] |
---|---|---|
author | Motomu Utsumi <motomuman@google.com> | Mon Mar 03 15:21:11 2025 +0900 |
committer | Motomu Utsumi <motomuman@google.com> | Mon Mar 03 15:21:11 2025 +0900 |
tree | fc4f6ef540bd6197041b59ce17353fac764e864c | |
parent | 1cfc7f69efa427ebc052f0960f1e748cf37d4311 [diff] |
Avoid fd to be closed by ParcelFileDescriptor's finalizer testBlockIncomingPacketsis flaky since ParcelFileDescriptor's finalizer closes fd and makes fd invalid. This CL fixes this issue by keeping the reference to ParcelFileDescriptor. Bug: 394503660 Test: testBlockIncomingPackets Change-Id: I1c1645d95b9d9ae1bd5af4ada500f50f350b6b0b