From b585c66c5fbf485256ef8fef5b0d06f51d8d9bf5 Mon Sep 17 00:00:00 2001 From: Santos Cordon Date: Mon, 5 Aug 2013 02:47:03 -0700 Subject: Adding a central logging class. Change-Id: I24f68d5ebcfed2740f9645736c35edf17efb4769 --- InCallUI/src/com/android/incallui/CallCardPresenter.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'InCallUI/src/com/android/incallui/CallCardPresenter.java') 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 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 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) { -- cgit v1.2.3