Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a40f055 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove redundant createAdapter override." into tm-qpr-dev

parents d79f84ff 9ca77448
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -20,10 +20,6 @@ import android.util.AttributeSet;
import android.view.WindowInsets;

import com.android.launcher3.allapps.ActivityAllAppsContainerView;
import com.android.launcher3.allapps.AllAppsGridAdapter;
import com.android.launcher3.allapps.AlphabeticalAppsList;
import com.android.launcher3.allapps.BaseAdapterProvider;
import com.android.launcher3.allapps.BaseAllAppsAdapter;
import com.android.launcher3.taskbar.overlay.TaskbarOverlayContext;

/** All apps container accessible from taskbar. */
@@ -43,12 +39,4 @@ public class TaskbarAllAppsContainerView extends
        setInsets(insets.getInsets(WindowInsets.Type.systemBars()).toRect());
        return super.onApplyWindowInsets(insets);
    }

    @Override
    protected BaseAllAppsAdapter<TaskbarOverlayContext> createAdapter(
            AlphabeticalAppsList<TaskbarOverlayContext> appsList,
            BaseAdapterProvider[] adapterProviders) {
        return new AllAppsGridAdapter<>(mActivityContext, getLayoutInflater(), appsList,
                adapterProviders);
    }
}