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

Commit a5addf0e authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Keep live tile running when TaskMenuView is showing

* Doesn't fix the bug, but a nicer UX to have

Bug: 223317893
Test: Live tile was running after tapping app icon.
Was able to enter split just fine

Change-Id: I50c5d5623546d19d216beae09b76c310e8b3c815
parent d17cb272
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -890,15 +890,7 @@ public class TaskView extends FrameLayout implements Reusable {
                if (confirmSecondSplitSelectApp()) {
                    return;
                }
                if (ENABLE_QUICKSTEP_LIVE_TILE.get() && isRunningTask()) {
                    RecentsView recentsView = getRecentsView();
                    recentsView.switchToScreenshot(
                            () -> recentsView.finishRecentsAnimation(true /* toRecents */,
                                    false /* shouldPip */,
                                    () -> showTaskMenu(iconView)));
                } else {
                showTaskMenu(iconView);
                }
            });
            iconView.setOnLongClickListener(v -> {
                requestDisallowInterceptTouchEvent(true);