mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Merge "Hide smart actions if we enter split select from home" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b26e558cb0
@@ -1624,10 +1624,13 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
|
||||
// If we are entering Overview as a result of initiating a split from somewhere else
|
||||
// (e.g. split from Home), we need to make sure the staged app is not drawn as a thumbnail.
|
||||
int stagedTaskIdToBeRemovedFromGrid = mSplitSelectSource != null
|
||||
? mSplitSelectSource.alreadyRunningTaskId
|
||||
: INVALID_TASK_ID;
|
||||
|
||||
int stagedTaskIdToBeRemovedFromGrid;
|
||||
if (mSplitSelectSource != null) {
|
||||
stagedTaskIdToBeRemovedFromGrid = mSplitSelectSource.alreadyRunningTaskId;
|
||||
updateCurrentTaskActionsVisibility();
|
||||
} else {
|
||||
stagedTaskIdToBeRemovedFromGrid = INVALID_TASK_ID;
|
||||
}
|
||||
// update the map of instance counts
|
||||
mFilterState.updateInstanceCountMap(taskGroups);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user