Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33ff0d17 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge changes from topic "am-85c6df09-b17a-490c-b342-44016a3b1282" into...

Merge changes from topic "am-85c6df09-b17a-490c-b342-44016a3b1282" into ub-launcher3-edmonton-polish

* changes:
  [automerger] Fix binder call for app opening am: 1d1a3d72
  Fix binder call for app opening
parents b7a30c69 518a3538
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -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);
                }

                float transX0 = floatingViewBounds[0] - offsetX;
                float transY0 = floatingViewBounds[1] - offsetY;
                matrix.postTranslate(transX0, transY0);