Merge "Fix no apps shown on app info screen" into qt-dev am: 11e4847d61
am: 848ead645b
Change-Id: If94957401976af4fba4c12d076655a5a383c4bb2
This commit is contained in:
@@ -1169,10 +1169,16 @@ public class ManageApplications extends InstrumentedFragment
|
||||
});
|
||||
}
|
||||
|
||||
public void filterSearch(String query) {
|
||||
@VisibleForTesting
|
||||
void filterSearch(String query) {
|
||||
if (mSearchFilter == null) {
|
||||
mSearchFilter = new SearchFilter();
|
||||
}
|
||||
// If we haven't load apps list completely, don't filter anything.
|
||||
if(mOriginalEntries == null) {
|
||||
Log.w(TAG, "Apps haven't loaded completely yet, so nothing can be filtered");
|
||||
return;
|
||||
}
|
||||
mSearchFilter.filter(query);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user