mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Set correct target position for other targets
Test: Open/close app in split screen Bug: 109867619 Change-Id: Ice2325e1be2f45c135e1beca63a16afed2d21644
This commit is contained in:
@@ -618,7 +618,7 @@ public class LauncherAppTransitionManagerImpl extends LauncherAppTransitionManag
|
||||
targetCrop = crop;
|
||||
alpha = mAlpha.value;
|
||||
} else {
|
||||
matrix.reset();
|
||||
matrix.setTranslate(target.position.x, target.position.y);
|
||||
alpha = 1f;
|
||||
targetCrop = target.sourceContainerBounds;
|
||||
}
|
||||
@@ -735,7 +735,7 @@ public class LauncherAppTransitionManagerImpl extends LauncherAppTransitionManag
|
||||
matrix.postTranslate(target.position.x, target.position.y);
|
||||
alpha = mAlpha.value;
|
||||
} else {
|
||||
matrix.reset();
|
||||
matrix.setTranslate(target.position.x, target.position.y);
|
||||
alpha = 1f;
|
||||
}
|
||||
params[i] = new SurfaceParams(target.leash, alpha, matrix,
|
||||
|
||||
Reference in New Issue
Block a user