Commit 54f535a3 authored by Alex Light's avatar Alex Light
Browse files

Pass SOCK_CLOEXEC to adb socket.

We were not passing CLOEXEC to the adb-socket in adbconnection. This
could lead to extra (unusable) jdwp PIDs in adb jdwp in some
circumstances.

Test: Build an app with wrap.sh.
      adb jdwp on a userdebug device.
      Ensure pid of wrap.sh is not present in list.
Bug: 109505014

Change-Id: Icd41bf037666d6abe35897681aed98b00fb290ac
parent ebf59022
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment