summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/model
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2016-12-12 22:20:36 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-12-12 22:20:36 +0000
commit1d896b011d0fb371fbefaa036aecbb319535d259 (patch)
tree55e739f079dc3f9121dd1099f760d9cd72d4e346 /src/com/android/launcher3/model
parent72537e44f6c2d2adebe7009cfd1bfa8850049100 (diff)
parentab121c17159a7f655b772fa78c04a6d2479e2a8e (diff)
downloadandroid_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.java2
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));