From 7cc6149445fbfaaef33b3a351e76829390a87226 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Mon, 1 Jun 2015 14:59:33 -0700 Subject: Don't use Log.isLoggable to determine DEBUG flag This allows unnecessary debug statements to be stripped out by the compiler. Change-Id: Id1b6f8bd6c86cf5014e4b76524aa3839eb31bbb8 --- src/com/android/dialer/DialtactsActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index 214f3206e..f22c3f56f 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -110,7 +110,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O ActionBarController.ActivityUi { private static final String TAG = "DialtactsActivity"; - public static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG); + public static final boolean DEBUG = false; public static final String SHARED_PREFS_NAME = "com.android.dialer_preferences"; -- cgit v1.2.3