summaryrefslogtreecommitdiff
path: root/src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2022-12-07 22:48:37 -0800
committerSunny Goyal <sunnygoyal@google.com>2022-12-08 10:15:55 -0800
commit54fa110bba4f6b07af4c4eab01ec2a9bce070474 (patch)
tree7c60eb4dc4221f49e03ac7738673d5d37ddc943a /src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java
parent1c744c996cc0821d1db7dbbd0d5ee1fc9eb08ae6 (diff)
downloadLauncher3-54fa110bba4f6b07af4c4eab01ec2a9bce070474.tar.gz
Removing some unnecessary interfaces and merging them to ActivityContext
Bug: 259733681 Test: Everything compiles Change-Id: If6b530f6e589a851cf8554f5de0849843bd66dd4
Diffstat (limited to 'src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java')
-rw-r--r--src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java b/src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java
index 5c55b53e2a..5296df1d46 100644
--- a/src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java
+++ b/src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java
@@ -27,13 +27,12 @@ import android.widget.RelativeLayout;
import androidx.core.graphics.ColorUtils;
import androidx.recyclerview.widget.RecyclerView;
-import com.android.launcher3.DeviceProfile.DeviceProfileListenable;
import com.android.launcher3.R;
import com.android.launcher3.Utilities;
import com.android.launcher3.allapps.BaseAllAppsAdapter.AdapterItem;
import com.android.launcher3.allapps.search.SearchAdapterProvider;
import com.android.launcher3.config.FeatureFlags;
-import com.android.launcher3.views.AppLauncher;
+import com.android.launcher3.views.ActivityContext;
import java.util.ArrayList;
@@ -42,8 +41,8 @@ import java.util.ArrayList;
*
* @param <T> Type of context inflating all apps.
*/
-public class ActivityAllAppsContainerView<T extends Context & AppLauncher
- & DeviceProfileListenable> extends BaseAllAppsContainerView<T> {
+public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
+ extends BaseAllAppsContainerView<T> {
private static final long DEFAULT_SEARCH_TRANSITION_DURATION_MS = 300;