mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
Merge "Prevent setting task thumbnail during swipe to overview" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
bbfef42e48
@@ -25,6 +25,7 @@ import static com.android.quickstep.views.RecentsView.CONTENT_ALPHA;
|
||||
import static com.android.quickstep.views.RecentsView.FULLSCREEN_PROGRESS;
|
||||
import static com.android.quickstep.views.RecentsView.TASK_MODALNESS;
|
||||
import static com.android.quickstep.views.SplitPlaceholderView.ALPHA_FLOAT;
|
||||
import static com.android.quickstep.views.TaskView.FLAG_UPDATE_ALL;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.os.Build;
|
||||
@@ -73,7 +74,7 @@ public final class RecentsViewStateController extends
|
||||
|
||||
if (toState.overviewUi) {
|
||||
// While animating into recents, update the visible task data as needed
|
||||
builder.addOnFrameCallback(mRecentsView::loadVisibleTaskData);
|
||||
builder.addOnFrameCallback(() -> mRecentsView.loadVisibleTaskData(FLAG_UPDATE_ALL));
|
||||
mRecentsView.updateEmptyMessage();
|
||||
} else {
|
||||
builder.addListener(
|
||||
|
||||
Reference in New Issue
Block a user