Merge "Fix no apps shown on app info screen" into qt-dev
am: 11e4847d61
Change-Id: Ia02de4e31fb573ed77b960ed357d8de39c27e8fd
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