mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Merge "Refresh the all apps container search result when apps are installed" into ub-launcher3-calgary
This commit is contained in:
committed by
Android (Google) Code Review
commit
75df256cc1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user