use printwriter instead of stdout

stdout doesn't make it to 'adb', so, "adb install-multiple" claims to fail
even though it successfully commits the install

Change-Id: I4df8cfc134a2d6c06cca13c2fc49a5cc7a07cc4a
This commit is contained in:
Todd Kennedy
2016-07-20 16:27:39 -07:00
parent 0e792f567a
commit b6e96e52e3

View File

@@ -1236,7 +1236,7 @@ class PackageManagerShellCommand extends ShellCommand {
PackageInstaller.STATUS_FAILURE);
if (status == PackageInstaller.STATUS_SUCCESS) {
if (logSuccess) {
System.out.println("Success");
pw.println("Success");
}
} else {
pw.println("Failure ["