diff options
author | Santos Cordon <santoscordon@google.com> | 2013-08-05 02:47:03 -0700 |
---|---|---|
committer | Santos Cordon <santoscordon@google.com> | 2013-08-05 22:04:00 +0000 |
commit | b585c66c5fbf485256ef8fef5b0d06f51d8d9bf5 (patch) | |
tree | eeb32aea02a8e620c54c8b20705304e356eeb2bb /InCallUI/src/com/android/incallui/CallCardPresenter.java | |
parent | 7ac6cb331919db2a3a8985e4cb3299b309d9012a (diff) |
Adding a central logging class.
Change-Id: I24f68d5ebcfed2740f9645736c35edf17efb4769
Diffstat (limited to 'InCallUI/src/com/android/incallui/CallCardPresenter.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallCardPresenter.java | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardPresenter.java b/InCallUI/src/com/android/incallui/CallCardPresenter.java index d5632a6f0..5f1f3b747 100644 --- a/InCallUI/src/com/android/incallui/CallCardPresenter.java +++ b/InCallUI/src/com/android/incallui/CallCardPresenter.java @@ -16,8 +16,6 @@ package com.android.incallui; -import android.util.Log; - import com.android.incallui.InCallPresenter.InCallState; import com.android.incallui.InCallPresenter.InCallStateListener; import com.android.services.telephony.common.Call; @@ -28,8 +26,6 @@ import com.android.services.telephony.common.Call; */ public class CallCardPresenter extends Presenter<CallCardPresenter.CallCardUi> implements InCallStateListener { - private static final String TAG = CallCardPresenter.class.getSimpleName(); - private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG); @Override public void onUiReady(CallCardUi ui) { @@ -50,10 +46,8 @@ public class CallCardPresenter extends Presenter<CallCardPresenter.CallCardUi> secondary = callList.getBackgroundCall(); } - if (DEBUG) { - Log.d(TAG, "Primary call: " + primary); - Log.d(TAG, "Secondary call: " + secondary); - } + Logger.d(this, "Primary call: " + primary); + Logger.d(this, "Secondary call: " + secondary); // Set primary call data if (primary != null) { |