Merge "Hide spammy WidgetModel log behind a DEBUG flag" into ub-launcher3-burnaby

This commit is contained in:
Hyunyoung Song
2015-07-13 17:36:05 +00:00
committed by Android (Google) Code Review

View File

@@ -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;
}