diff --git a/src/com/android/launcher3/model/WidgetsModel.java b/src/com/android/launcher3/model/WidgetsModel.java index 09a3242b50..15d3717cd8 100644 --- a/src/com/android/launcher3/model/WidgetsModel.java +++ b/src/com/android/launcher3/model/WidgetsModel.java @@ -122,8 +122,10 @@ public class WidgetsModel { continue; } if (mAppFilter != null && !mAppFilter.shouldShowApp(componentName)) { - Log.d(TAG, String.format("%s is filtered and not added to the widget tray.", + if (DEBUG) { + Log.d(TAG, String.format("%s is filtered and not added to the widget tray.", packageName)); + } continue; }