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

Commit c1a87f88 authored by Manu Cornet's avatar Manu Cornet Committed by android-build-merger
Browse files

2D Recents: Keep nav bar hidden from transition thumbnail

am: b68b765c

Change-Id: I4a64e5ef354f16ba1bef1196f1a44bbffbc3c880
parents 52c28bad 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);