Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2c1fdad authored by Sunny Goyal's avatar Sunny Goyal Committed by Android (Google) Code Review
Browse files

Merge "Fixing wrong diffing logic in AdapterItem" into tm-dev

parents 0c809bbe 959a9f54
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -119,7 +119,7 @@ public abstract class BaseAllAppsAdapter<T extends Context & ActivityContext> ex
         * Returns true if the items represent the same object
         * Returns true if the items represent the same object
         */
         */
        public boolean isSameAs(AdapterItem other) {
        public boolean isSameAs(AdapterItem other) {
            return (other.viewType != viewType) && (other.getClass() == getClass());
            return (other.viewType == viewType) && (other.getClass() == getClass());
        }
        }


        /**
        /**