mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Removing unused app discovery support
Change-Id: I670be29851b232caa5c05624ae37ae5e92a8b65f
This commit is contained in:
@@ -39,8 +39,6 @@ import com.android.launcher3.R;
|
||||
import com.android.launcher3.allapps.AllAppsContainerView;
|
||||
import com.android.launcher3.allapps.AlphabeticalAppsList;
|
||||
import com.android.launcher3.allapps.SearchUiManager;
|
||||
import com.android.launcher3.discovery.AppDiscoveryItem;
|
||||
import com.android.launcher3.discovery.AppDiscoveryUpdateState;
|
||||
import com.android.launcher3.graphics.TintedDrawableSpan;
|
||||
import com.android.launcher3.util.ComponentKey;
|
||||
|
||||
@@ -187,15 +185,6 @@ public class AppsSearchContainerLayout extends FrameLayout
|
||||
mAppsView.onClearSearchResult();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAppDiscoverySearchUpdate(
|
||||
@Nullable AppDiscoveryItem app, @NonNull AppDiscoveryUpdateState state) {
|
||||
if (!mLauncher.isDestroyed()) {
|
||||
mApps.onAppDiscoverySearchUpdate(app, state);
|
||||
notifyResultChanged();
|
||||
}
|
||||
}
|
||||
|
||||
private void notifyResultChanged() {
|
||||
mElevationController.reset();
|
||||
mAppsView.onSearchResultsChanged();
|
||||
|
||||
Reference in New Issue
Block a user