diff --git a/src/com/android/launcher3/allapps/BaseAllAppsAdapter.java b/src/com/android/launcher3/allapps/BaseAllAppsAdapter.java index c7c4607d6e..fcba246c95 100644 --- a/src/com/android/launcher3/allapps/BaseAllAppsAdapter.java +++ b/src/com/android/launcher3/allapps/BaseAllAppsAdapter.java @@ -119,7 +119,7 @@ public abstract class BaseAllAppsAdapter ex * Returns true if the items represent the same object */ public boolean isSameAs(AdapterItem other) { - return (other.viewType != viewType) && (other.getClass() == getClass()); + return (other.viewType == viewType) && (other.getClass() == getClass()); } /**