mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
Fixing wrong diffing logic in AdapterItem
Bug: 232932442 Test: Verified on device Change-Id: I87eae4c238a7b2d9749859307d253822916bb31c
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