diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2016-12-12 22:20:36 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2016-12-12 22:20:36 +0000 |
commit | 1d896b011d0fb371fbefaa036aecbb319535d259 (patch) | |
tree | 55e739f079dc3f9121dd1099f760d9cd72d4e346 /src/com/android/launcher3/model | |
parent | 72537e44f6c2d2adebe7009cfd1bfa8850049100 (diff) | |
parent | ab121c17159a7f655b772fa78c04a6d2479e2a8e (diff) | |
download | android_packages_apps_Trebuchet-1d896b011d0fb371fbefaa036aecbb319535d259.tar.gz android_packages_apps_Trebuchet-1d896b011d0fb371fbefaa036aecbb319535d259.tar.bz2 android_packages_apps_Trebuchet-1d896b011d0fb371fbefaa036aecbb319535d259.zip |
Merge "Adding a generic method to initiate overridable objects" into ub-launcher3-master
Diffstat (limited to 'src/com/android/launcher3/model')
-rw-r--r-- | src/com/android/launcher3/model/WidgetsModel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/model/WidgetsModel.java b/src/com/android/launcher3/model/WidgetsModel.java index 64043f484..5ad6f0fff 100644 --- a/src/com/android/launcher3/model/WidgetsModel.java +++ b/src/com/android/launcher3/model/WidgetsModel.java @@ -117,7 +117,7 @@ public class WidgetsModel { } } - if (mAppFilter != null && !mAppFilter.shouldShowApp(item.componentName)) { + if (!mAppFilter.shouldShowApp(item.componentName)) { if (DEBUG) { Log.d(TAG, String.format("%s is filtered and not added to the widget tray.", item.componentName)); |