diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-08-17 12:54:57 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2015-08-17 12:56:19 -0700 |
commit | 42e28092b336bf89bee94c61e2cd327e1d8ec882 (patch) | |
tree | 6752a35699e0781b0e3a8233f5171d2c5e6bcf2d /src/com/android/launcher3/allapps/AlphabeticalAppsList.java | |
parent | e3e05563b755d3f94da6867049c1a81891545c88 (diff) | |
download | android_packages_apps_Trebuchet-42e28092b336bf89bee94c61e2cd327e1d8ec882.tar.gz android_packages_apps_Trebuchet-42e28092b336bf89bee94c61e2cd327e1d8ec882.tar.bz2 android_packages_apps_Trebuchet-42e28092b336bf89bee94c61e2cd327e1d8ec882.zip |
Removing some eclipse warnings
Change-Id: I160feaee81b262be02446885fae643c0be71b7af
Diffstat (limited to 'src/com/android/launcher3/allapps/AlphabeticalAppsList.java')
-rw-r--r-- | src/com/android/launcher3/allapps/AlphabeticalAppsList.java | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/com/android/launcher3/allapps/AlphabeticalAppsList.java b/src/com/android/launcher3/allapps/AlphabeticalAppsList.java index ffe39cdd3..cf53aa60e 100644 --- a/src/com/android/launcher3/allapps/AlphabeticalAppsList.java +++ b/src/com/android/launcher3/allapps/AlphabeticalAppsList.java @@ -16,7 +16,6 @@ package com.android.launcher3.allapps; import android.content.Context; -import android.support.v7.widget.RecyclerView; import android.util.Log; import com.android.launcher3.AppInfo; @@ -182,14 +181,13 @@ public class AlphabeticalAppsList { // The of ordered component names as a result of a search query private ArrayList<ComponentKey> mSearchResults; private HashMap<CharSequence, String> mCachedSectionNames = new HashMap<>(); - private RecyclerView.Adapter mAdapter; + private AllAppsGridAdapter mAdapter; private AlphabeticIndexCompat mIndexer; private AppNameComparator mAppNameComparator; private MergeAlgorithm mMergeAlgorithm; private int mNumAppsPerRow; private int mNumPredictedAppsPerRow; private int mNumAppRowsInAdapter; - private boolean mDisableEmptyText; public AlphabeticalAppsList(Context context) { mLauncher = (Launcher) context; @@ -212,18 +210,11 @@ public class AlphabeticalAppsList { /** * Sets the adapter to notify when this dataset changes. */ - public void setAdapter(RecyclerView.Adapter adapter) { + public void setAdapter(AllAppsGridAdapter adapter) { mAdapter = adapter; } /** - * Disables the empty text message when there are no search results. - */ - public void disableEmptyText() { - mDisableEmptyText = true; - } - - /** * Returns all the apps. */ public List<AppInfo> getApps() { |