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

Commit f3d81b0a authored by Tracy Zhou's avatar Tracy Zhou Committed by Android (Google) Code Review
Browse files

Merge "Fix thumbnail disappearing during staged split animation" into tm-dev

parents aa2f879c 67bc75a8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ public class FloatingTaskThumbnailView extends View {

        // Scale down the bitmap to fix x, and crop in y.
        float scale = 1.0f * getMeasuredWidth() / mBitmap.getWidth();
        mMatrix.reset();
        mMatrix.postScale(scale, scale);
        mBitmapShader.setLocalMatrix(mMatrix);

+2 −0
Original line number Diff line number Diff line
@@ -91,6 +91,8 @@ public class FloatingTaskView extends FrameLayout {
        // Copy bounds of exiting thumbnail into ImageView
        mThumbnailView.setThumbnail(thumbnail);

        mThumbnailView.setVisibility(VISIBLE);

        RecentsView recentsView = launcher.getOverviewPanel();
        mOrientationHandler = recentsView.getPagedOrientationHandler();
        mSplitPlaceholderView.setIcon(icon,