Merge "Refactor all apps to depend on activity context."

This commit is contained in:
Brian Isganitis authored and Android (Google) Code Review committed 2022-01-25 18:34:30 +00:00
commit c19b51e1f3
26 files changed
+534 -387

No files matched your search

@@ -23,7 +23,6 @@ import android.content.Context;
import com.android.launcher3.Launcher;
import com.android.launcher3.LauncherState;
import com.android.launcher3.R;
import com.android.launcher3.allapps.AllAppsContainerView;
import com.android.launcher3.util.Themes;
/**
@@ -44,8 +43,7 @@ public class AllAppsState extends LauncherState {
@Override
public String getDescription(Launcher launcher) {
AllAppsContainerView appsView = launcher.getAppsView();
return appsView.getDescription();
return launcher.getAppsView().getDescription();
}
@Override