diff options
author | Hyunyoung Song <hyunyoungs@google.com> | 2015-07-13 10:26:22 -0700 |
---|---|---|
committer | Hyunyoung Song <hyunyoungs@google.com> | 2015-07-13 10:26:22 -0700 |
commit | f56513f6bae56eb96147dc1783a214326c1b43c3 (patch) | |
tree | e5d53fd342c246a4eb5345c45182915efa0fce3f /src/com/android/launcher3/model/WidgetsModel.java | |
parent | 98ff38aa48b4c9d3e33c128fae2d5c851e49a3eb (diff) | |
download | android_packages_apps_Trebuchet-f56513f6bae56eb96147dc1783a214326c1b43c3.tar.gz android_packages_apps_Trebuchet-f56513f6bae56eb96147dc1783a214326c1b43c3.tar.bz2 android_packages_apps_Trebuchet-f56513f6bae56eb96147dc1783a214326c1b43c3.zip |
Hide spammy WidgetModel log behind a DEBUG flag
Change-Id: I0119855655516d9fdc114334a974b8766aabf674
Diffstat (limited to 'src/com/android/launcher3/model/WidgetsModel.java')
-rw-r--r-- | src/com/android/launcher3/model/WidgetsModel.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/launcher3/model/WidgetsModel.java b/src/com/android/launcher3/model/WidgetsModel.java index 09a3242b5..15d3717cd 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; } |