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

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

View File

@@ -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