commit | f56513f6bae56eb96147dc1783a214326c1b43c3 | [log] [tgz] |
---|---|---|
author | Hyunyoung Song <hyunyoungs@google.com> | Mon Jul 13 10:26:22 2015 -0700 |
committer | Hyunyoung Song <hyunyoungs@google.com> | Mon Jul 13 10:26:22 2015 -0700 |
tree | e5d53fd342c246a4eb5345c45182915efa0fce3f | |
parent | 98ff38aa48b4c9d3e33c128fae2d5c851e49a3eb [diff] |
Hide spammy WidgetModel log behind a DEBUG flag Change-Id: I0119855655516d9fdc114334a974b8766aabf674
diff --git a/src/com/android/launcher3/model/WidgetsModel.java b/src/com/android/launcher3/model/WidgetsModel.java index 09a3242..15d3717 100644 --- a/src/com/android/launcher3/model/WidgetsModel.java +++ b/src/com/android/launcher3/model/WidgetsModel.java
@@ -122,8 +122,10 @@ 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; }