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

Commit 57071e80 authored by Manu Cornet's avatar Manu Cornet Committed by Android (Google) Code Review
Browse files

Merge "2D Recents: Keep nav bar hidden from transition thumbnail" into nyc-mr2-dev

parents abfe26ba b68b765c
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1105,8 +1105,10 @@ public class AppTransition implements Dump {
                        // We scale the width and clip to the top/left square
                        float scale = thumbWidth /
                                (appWidth - contentInsets.left - contentInsets.right);
                        if (!mGridLayoutRecentsEnabled) {
                            int unscaledThumbHeight = (int) (thumbHeight / scale);
                            mTmpFromClipRect.bottom = mTmpFromClipRect.top + unscaledThumbHeight;
                        }

                        mNextAppTransitionInsets.set(contentInsets);