Code cleanup in ZygoteConection.java

Generic code cleanup and modernization for ZygoteConnection.

Test: m & flash & boot device
Change-Id: I56bff2aaae4ff98c687cb2c2998f857cfdc86295
Merged-In: I56bff2aaae4ff98c687cb2c2998f857cfdc86295
(cherry picked from commit 1f26331df0d70ddfdf3e5ffac9771044ae7915f5)
2 files changed