diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2018-01-23 13:52:48 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2018-01-23 13:53:03 -0800 |
commit | 01ce755753a05caddef2bb59b6396cf20592e3e6 (patch) | |
tree | c5147a6ab005c03b364f19dbf3267ce9a4a59e24 /src/com/android/launcher3/allapps/search | |
parent | 7bebef40e39eba85d6e9c39dba92fa47112f8a84 (diff) | |
download | android_packages_apps_Trebuchet-01ce755753a05caddef2bb59b6396cf20592e3e6.tar.gz android_packages_apps_Trebuchet-01ce755753a05caddef2bb59b6396cf20592e3e6.tar.bz2 android_packages_apps_Trebuchet-01ce755753a05caddef2bb59b6396cf20592e3e6.zip |
Removing unused app discovery support
Change-Id: I670be29851b232caa5c05624ae37ae5e92a8b65f
Diffstat (limited to 'src/com/android/launcher3/allapps/search')
-rw-r--r-- | src/com/android/launcher3/allapps/search/AllAppsSearchBarController.java | 14 | ||||
-rw-r--r-- | src/com/android/launcher3/allapps/search/AppsSearchContainerLayout.java | 11 |
2 files changed, 0 insertions, 25 deletions
diff --git a/src/com/android/launcher3/allapps/search/AllAppsSearchBarController.java b/src/com/android/launcher3/allapps/search/AllAppsSearchBarController.java index bf03a0ee1..e83904fe8 100644 --- a/src/com/android/launcher3/allapps/search/AllAppsSearchBarController.java +++ b/src/com/android/launcher3/allapps/search/AllAppsSearchBarController.java @@ -28,8 +28,6 @@ import android.widget.TextView.OnEditorActionListener; import com.android.launcher3.ExtendedEditText; import com.android.launcher3.Launcher; import com.android.launcher3.Utilities; -import com.android.launcher3.discovery.AppDiscoveryItem; -import com.android.launcher3.discovery.AppDiscoveryUpdateState; import com.android.launcher3.util.ComponentKey; import com.android.launcher3.util.PackageManagerHelper; @@ -164,18 +162,6 @@ public class AllAppsSearchBarController * Called when the search results should be cleared. */ void clearSearchResult(); - - /** - * Called when the app discovery is providing an update of search, which can either be - * START for starting a new discovery, - * UPDATE for providing a new search result, can be called multiple times, - * END for indicating the end of results. - * - * @param app result item if UPDATE, else null - * @param app the update state, START, UPDATE or END - */ - void onAppDiscoverySearchUpdate(@Nullable AppDiscoveryItem app, - @NonNull AppDiscoveryUpdateState state); } }
\ No newline at end of file diff --git a/src/com/android/launcher3/allapps/search/AppsSearchContainerLayout.java b/src/com/android/launcher3/allapps/search/AppsSearchContainerLayout.java index ed41f133a..6f07eebc6 100644 --- a/src/com/android/launcher3/allapps/search/AppsSearchContainerLayout.java +++ b/src/com/android/launcher3/allapps/search/AppsSearchContainerLayout.java @@ -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(); |