mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
Fixing crash during rotation
am: bb702584fa
* commit 'bb702584fa551fab8cffbb0ae5459d9efd16ce2a':
Fixing crash during rotation
This commit is contained in:
@@ -278,11 +278,14 @@ public class AlphabeticalAppsList {
|
||||
/**
|
||||
* Sets the sorted list of filtered components.
|
||||
*/
|
||||
public void setOrderedFilter(ArrayList<ComponentKey> f) {
|
||||
public boolean setOrderedFilter(ArrayList<ComponentKey> f) {
|
||||
if (mSearchResults != f) {
|
||||
boolean same = mSearchResults != null && mSearchResults.equals(f);
|
||||
mSearchResults = f;
|
||||
updateAdapterItems();
|
||||
return !same;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user