Merge "Fixing wrong diffing logic in AdapterItem" into tm-dev am: c2c1fdad54
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18701868 Change-Id: I0849e6bf81386a362b32eea43d0b13c6a3e9f1ab Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -119,7 +119,7 @@ public abstract class BaseAllAppsAdapter<T extends Context & ActivityContext> 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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user