Removing some unnecessary interfaces and merging them to ActivityContext
Bug: 259733681 Test: Everything compiles Change-Id: If6b530f6e589a851cf8554f5de0849843bd66dd4
This commit is contained in:
1 parent
1c744c996c
commit
54fa110bba
16 files changed
+277
-302
No files matched your search
@@ -26,17 +26,17 @@ import androidx.recyclerview.widget.RecyclerView;
|
||||
import com.android.launcher3.BubbleTextView;
|
||||
import com.android.launcher3.allapps.AllAppsGridAdapter;
|
||||
import com.android.launcher3.model.data.ItemInfo;
|
||||
import com.android.launcher3.views.AppLauncher;
|
||||
import com.android.launcher3.views.ActivityContext;
|
||||
|
||||
/**
|
||||
* Provides views for local search results.
|
||||
*/
|
||||
public class DefaultSearchAdapterProvider extends SearchAdapterProvider<AppLauncher> {
|
||||
public class DefaultSearchAdapterProvider extends SearchAdapterProvider<ActivityContext> {
|
||||
|
||||
private final RecyclerView.ItemDecoration mDecoration;
|
||||
private View mHighlightedView;
|
||||
|
||||
public DefaultSearchAdapterProvider(AppLauncher launcher) {
|
||||
public DefaultSearchAdapterProvider(ActivityContext launcher) {
|
||||
super(launcher);
|
||||
mDecoration = new RecyclerView.ItemDecoration() {
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user