mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
[automerger] Fix binder call for app opening am: 1d1a3d7242
Change-Id: Ieaa9a8050abda9c4382843be1a2c77b20c15604d
This commit is contained in:
@@ -594,11 +594,8 @@ public class LauncherAppTransitionManagerImpl extends LauncherAppTransitionManag
|
||||
|
||||
float offsetX = (scaledWindowWidth - iconWidth) / 2;
|
||||
float offsetY = (scaledWindowHeight - iconHeight) / 2;
|
||||
if (mLauncher.isInMultiWindowModeCompat()) {
|
||||
mFloatingView.getLocationOnScreen(floatingViewBounds);
|
||||
} else {
|
||||
mFloatingView.getLocationInWindow(floatingViewBounds);
|
||||
}
|
||||
mFloatingView.getLocationOnScreen(floatingViewBounds);
|
||||
|
||||
float transX0 = floatingViewBounds[0] - offsetX;
|
||||
float transY0 = floatingViewBounds[1] - offsetY;
|
||||
matrix.postTranslate(transX0, transY0);
|
||||
|
||||
Reference in New Issue
Block a user