Fix handleGettingEabContactCommand return null
In aosp/1565197, accidentally delete getOutPrintWriter() in
handleGettingEabContactCommand(), add getOutPrintWritter() back.
Bug: 179271342
Test: atest on internal branch and aosp branch
Change-Id: I37aefabbdf52bdc96d542f05cdce5a2c91ebee10
diff --git a/src/com/android/phone/TelephonyShellCommand.java b/src/com/android/phone/TelephonyShellCommand.java
index 25f72aa..af293ce 100644
--- a/src/com/android/phone/TelephonyShellCommand.java
+++ b/src/com/android/phone/TelephonyShellCommand.java
@@ -1658,7 +1658,7 @@
if (VDBG) {
Log.v(LOG_TAG, "uce remove-eab-contact -s " + subId + ", result: " + result);
}
- return result;
+ return 0;
}
private int handleGettingEabContactCommand() {
@@ -1679,6 +1679,7 @@
if (VDBG) {
Log.v(LOG_TAG, "uce get-eab-contact, result: " + result);
}
+ getOutPrintWriter().println(result);
return 0;
}