Merge "adbd: use pty to determine whether a session is interactive." am: 7e923fb3c5
am: 43568a558d

* commit '43568a558d8ce9a27d47e7be1d840440ba8e7649':
  adbd: use pty to determine whether a session is interactive.