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

Commit f6dd3d10 authored by Brian Isganitis's avatar Brian Isganitis
Browse files

Remove onTaskCreated for hiding Taskbar overlay.

See https://b/299166570#comment4 for explanation.

Test: Manual for Taskbar + EDU. Work profile toggle no longer closes All
Apps.
Fix: 299166570
Flag: No

Change-Id: I6e3dba018975a924cccdc008f92c91bb9385cf99
parent 4e520286
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.