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

Commit a4497e55 authored by Brian Isganitis's avatar Brian Isganitis Committed by Android (Google) Code Review
Browse files

Merge "Remove onTaskCreated for hiding Taskbar overlay." into main

parents a1b7cbe0 f6dd3d10
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@ import static com.android.launcher3.AbstractFloatingView.TYPE_REBIND_SAFE;
import static com.android.launcher3.LauncherState.ALL_APPS;

import android.annotation.SuppressLint;
import android.content.ComponentName;
import android.content.Context;
import android.graphics.PixelFormat;
import android.view.Gravity;
@@ -59,12 +58,6 @@ public final class TaskbarOverlayController {
    private final LayoutParams mLayoutParams;

    private final TaskStackChangeListener mTaskStackListener = new TaskStackChangeListener() {
        @Override
        public void onTaskCreated(int taskId, ComponentName componentName) {
            // Created task will be below existing overlay, so move out of the way.
            hideWindowOnTaskStackChange();
        }

        @Override
        public void onTaskMovedToFront(int taskId) {
            // New front task will be below existing overlay, so move out of the way.