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

Commit b68b765c authored by Manu Cornet's avatar Manu Cornet
Browse files

2D Recents: Keep nav bar hidden from transition thumbnail

Bug: 32101881
Bug: 33752154
Test: Checked (slow motion screencast) transitions on local sw600dp device
Change-Id: Id124f62df1063cf0fa81b5ef4367c047c3f51be3
parent 40758bb7
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);