Revert "Sending broadcast message when home screen is ready."

Revert "Receiving a broadcast message when home screen is ready."

Revert submission 16169565-b/199120420

Reason for revert: Breaking Build (b/207471332)
Reverted Changes:
Ibc101a249:Receiving a broadcast message when home screen is ...
I18628552a:Sending broadcast message when home screen is read...

Change-Id: Ib29eae2d58c9ae2e3002c0fa18265c6767733e22
This commit is contained in:
Stefano Galarraga
2021-11-23 13:25:21 +00:00
parent edd5f77c51
commit d4c6ecdca6
@@ -68,11 +68,9 @@ import com.android.launcher3.uioverrides.touchcontrollers.StatusBarTouchControll
import com.android.launcher3.uioverrides.touchcontrollers.TaskViewTouchController;
import com.android.launcher3.uioverrides.touchcontrollers.TransposedQuickSwitchTouchController;
import com.android.launcher3.uioverrides.touchcontrollers.TwoButtonNavbarTouchController;
import com.android.launcher3.util.IntSet;
import com.android.launcher3.util.ItemInfoMatcher;
import com.android.launcher3.util.OnboardingPrefs;
import com.android.launcher3.util.PendingRequestArgs;
import com.android.launcher3.util.RunnableList;
import com.android.launcher3.util.TouchController;
import com.android.launcher3.util.UiThreadHelper;
import com.android.launcher3.util.UiThreadHelper.AsyncCommand;
@@ -93,8 +91,6 @@ import java.util.stream.Stream;
public class QuickstepLauncher extends BaseQuickstepLauncher {
public static final String HOME_IS_READY = "com.android.launcher3.HOME_IS_READY";
public static final boolean GO_LOW_RAM_RECENTS_ENABLED = false;
/**
* Reusable command for applying the shelf height on the background thread.
@@ -235,12 +231,6 @@ public class QuickstepLauncher extends BaseQuickstepLauncher {
}
}
@Override
public void onInitialBindComplete(IntSet boundPages, RunnableList pendingTasks) {
super.onInitialBindComplete(boundPages, pendingTasks);
sendBroadcast(new Intent(HOME_IS_READY).setPackage("com.android.settings"));
}
@Override
public void bindExtraContainerItems(FixedContainerItems item) {
if (item.containerId == Favorites.CONTAINER_PREDICTION) {