mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Using DiffUtil for calculating widget diff instead
of a custom implementation This uses the same version as all-apps and avoids whole list refresh when a widget entry is expanded for the first time Removing tests which were essentially testing the diffing logic Bug: 268646258 Test: Verified on device Change-Id: I4799c66b4674e754547317317e7a63f098fce735
This commit is contained in:
@@ -85,12 +85,6 @@ public final class WidgetsListHeaderEntry extends WidgetsListBaseEntry {
|
||||
return "Header:" + mPkgItem.packageName + ":" + mWidgets.size();
|
||||
}
|
||||
|
||||
@Override
|
||||
@Rank
|
||||
public int getRank() {
|
||||
return RANK_WIDGETS_LIST_HEADER;
|
||||
}
|
||||
|
||||
public boolean isSearchEntry() {
|
||||
return mIsSearchEntry;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user