Remove user input from logcat
Do not display text typed by the user in the radio logcat.
(cherrypicked from commit 779121815ba9a08ae8a021c9ae4274ae43b01cb2)
Change-Id: Ifeaa72009dbfe363f927d71af646633b67a329d3
diff --git a/src/com/android/stk/StkAppService.java b/src/com/android/stk/StkAppService.java
index 1714d6d..937acec 100644
--- a/src/com/android/stk/StkAppService.java
+++ b/src/com/android/stk/StkAppService.java
@@ -296,7 +296,7 @@
if (op != OP_BOOT_COMPLETED) {
slotId = args.getInt(SLOT_ID);
}
- CatLog.d(LOG_TAG, "onStart sim id: " + slotId + ", op: " + op + ", " + args);
+ CatLog.d(LOG_TAG, "onStart sim id: " + slotId + ", op: " + op + ", *****");
if ((slotId >= 0 && slotId < mSimCount) && mStkService[slotId] == null) {
mStkService[slotId] = CatService.getInstance(slotId);
if (mStkService[slotId] == null) {
diff --git a/src/com/android/stk/StkInputActivity.java b/src/com/android/stk/StkInputActivity.java
index 69223c3..39c574d 100644
--- a/src/com/android/stk/StkInputActivity.java
+++ b/src/com/android/stk/StkInputActivity.java
@@ -241,8 +241,8 @@
return;
}
- CatLog.d(LOG_TAG, "sendResponse resID[" + resId + "] input[" + input +
- "] help[" + help + "]");
+ CatLog.d(LOG_TAG, "sendResponse resID[" + resId + "] input[*****] help["
+ + help + "]");
mIsResponseSent = true;
Bundle args = new Bundle();
args.putInt(StkAppService.OPCODE, StkAppService.OP_RESPONSE);