mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
Refresh the all apps container search result when apps are installed
b/30102209 > After user comes back from the play store after installing the app that didn't exist when searched, the app will now be shown in the filtered search result list. Change-Id: Ia5fe501596127a7401928e5db2d6f425ad753701
This commit is contained in:
@@ -207,6 +207,7 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
|
||||
*/
|
||||
public void addApps(List<AppInfo> apps) {
|
||||
mApps.addApps(apps);
|
||||
mSearchBarController.refreshSearchResult();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -214,6 +215,7 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
|
||||
*/
|
||||
public void updateApps(List<AppInfo> apps) {
|
||||
mApps.updateApps(apps);
|
||||
mSearchBarController.refreshSearchResult();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -221,6 +223,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