Merge "Keep live tile running when TaskMenuView is showing" into tm-dev am: b85e0afe70
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17304993 Change-Id: Iae812e9d9dfc5fad61c4c3614296dcae8604fec9
This commit is contained in:
@@ -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);
|
||||
}
|
||||
showTaskMenu(iconView);
|
||||
});
|
||||
iconView.setOnLongClickListener(v -> {
|
||||
requestDisallowInterceptTouchEvent(true);
|
||||
|
||||
Reference in New Issue
Block a user