diff options
author | Yoshiaki Naka <yoshiaki.naka@sony.com> | 2019-10-30 17:11:33 +0900 |
---|---|---|
committer | Jack Yu <jackyu@google.com> | 2019-11-05 13:25:44 -0800 |
commit | 3a980db1e095d93fadf1fc9f136c0f4d88f4a28e (patch) | |
tree | 116656ca72ac15bf729be065fd5cfaf639a9b4e4 /src/com/android/stk/StkLauncherActivity.java | |
parent | 1416ac5cdce95174b06a6e08eeddc5554ed6e54f (diff) | |
download | Stk-3a980db1e095d93fadf1fc9f136c0f4d88f4a28e.tar.gz |
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
Diffstat (limited to 'src/com/android/stk/StkLauncherActivity.java')
-rw-r--r-- | src/com/android/stk/StkLauncherActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/stk/StkLauncherActivity.java b/src/com/android/stk/StkLauncherActivity.java index 9d2f60f..a2dbdcd 100644 --- a/src/com/android/stk/StkLauncherActivity.java +++ b/src/com/android/stk/StkLauncherActivity.java @@ -46,8 +46,8 @@ import java.util.ArrayList; public class StkLauncherActivity extends ListActivity { private TextView mTitleTextView = null; private ImageView mTitleIconView = null; - 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 ArrayList<Item> mStkMenuList = null; private int mSingleSimId = -1; private Context mContext = null; |