Merge "Refresh the all apps container search result when apps are installed" into ub-launcher3-calgary

This commit is contained in:
Hyunyoung Song
2016-07-25 21:28:22 +00:00
committed by Android (Google) Code Review
2 changed files with 17 additions and 3 deletions

View File

@@ -210,6 +210,7 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
*/
public void addApps(List<AppInfo> apps) {
mApps.addApps(apps);
mSearchBarController.refreshSearchResult();
}
/**
@@ -217,6 +218,7 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
*/
public void updateApps(List<AppInfo> apps) {
mApps.updateApps(apps);
mSearchBarController.refreshSearchResult();
}
/**
@@ -224,6 +226,7 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
*/
public void removeApps(List<AppInfo> apps) {
mApps.removeApps(apps);
mSearchBarController.refreshSearchResult();
}
public void setSearchBarVisible(boolean visible) {