OSDN Git Service

Change DBG to false to eliminate logcat messages.
authorScott Greenwald <greenwald@google.com>
Sat, 24 Aug 2013 00:35:17 +0000 (20:35 -0400)
committerDaniel Sandler <dsandler@android.com>
Mon, 26 Aug 2013 14:59:44 +0000 (14:59 +0000)
DemoContactNotificationScorer was spamming logcat because DBG was
set to true. Also changed TAG to match the class name.

Bug: 10457063
Change-Id: Idca251b5b46d58ab64407e94ed4bec831e880aa4

core/java/com/android/internal/notification/DemoContactNotificationScorer.java

index 62529e9..f484724 100644 (file)
@@ -41,8 +41,8 @@ import java.util.List;
  */
 
 public class DemoContactNotificationScorer implements NotificationScorer {
-    private static final String TAG = "StarredContactScoring";
-    private static final boolean DBG = true;
+    private static final String TAG = "DemoContactNotificationScorer";
+    private static final boolean DBG = false;
 
     protected static final boolean ENABLE_CONTACT_SCORER = true;
     private static final String SETTING_ENABLE_SCORER = "contact_scorer_enabled";