Replace CatLog.d(this) with CatLog.d(LOG_TAG) in SIM Toolkit classes
CatLog.d(this) is found here and there though each class has LOG_TAG. It
shold be replaced with CatLog.d(LOG_TAG).
Bug: 130142364
Test: Manually checked output logs.
Change-Id: Iaff476a3257b6cc485523908f3ff0ad4ae7f3126
diff --git a/src/com/android/stk/StkInputActivity.java b/src/com/android/stk/StkInputActivity.java
index 80bdf75..0af6767 100644
--- a/src/com/android/stk/StkInputActivity.java
+++ b/src/com/android/stk/StkInputActivity.java
@@ -67,8 +67,8 @@
private View mNormalLayout = null;
// Constants
- private static final String className = new Object(){}.getClass().getEnclosingClass().getName();
- private static final String LOG_TAG = className.substring(className.lastIndexOf('.') + 1);
+ private static final String LOG_TAG =
+ new Object(){}.getClass().getEnclosingClass().getSimpleName();
private Input mStkInput = null;
// Constants