mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
Merge "Select remote apps based on stagePosition instead of hardcoded values" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1e86bd0ec6
@@ -289,9 +289,11 @@ public abstract class SwipeUpAnimationLogic implements
|
||||
mRemoteTargetHandles[0].mTaskViewSimulator.setPreview(primaryTaskTarget);
|
||||
}
|
||||
} else {
|
||||
int[] taskIds = LauncherSplitScreenListener.INSTANCE.getNoCreate()
|
||||
.getRunningSplitTaskIds();
|
||||
// We're in staged split
|
||||
primaryTaskTarget = targets.apps[0];
|
||||
secondaryTaskTarget = targets.apps[1];
|
||||
primaryTaskTarget = targets.findTask(taskIds[0]);
|
||||
secondaryTaskTarget = targets.findTask(taskIds[1]);
|
||||
mStagedSplitBounds = new SplitConfigurationOptions.StagedSplitBounds(
|
||||
primaryTaskTarget.screenSpaceBounds,
|
||||
secondaryTaskTarget.screenSpaceBounds, dividerTarget.screenSpaceBounds);
|
||||
|
||||
@@ -51,8 +51,8 @@ import com.android.systemui.shared.system.SyncRtSurfaceTransactionApplierCompat.
|
||||
*/
|
||||
public class TaskViewSimulator implements TransformParams.BuilderProxy {
|
||||
|
||||
private final String TAG = "TaskViewSimulator";
|
||||
private final boolean DEBUG = false;
|
||||
private static final String TAG = "TaskViewSimulator";
|
||||
private static final boolean DEBUG = false;
|
||||
|
||||
private final Rect mTmpCropRect = new Rect();
|
||||
private final RectF mTempRectF = new RectF();
|
||||
|
||||
Reference in New Issue
Block a user