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

Commit 5c143255 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fade away half-screen assistant on swipe-to-recents gesture." into ub-launcher3-master

parents 8a2a63b3 b09d25b2
Loading
Loading
Loading
Loading
+236 B (114 KiB)

File changed.

No diff preview for this file type.

+7 −2
Original line number Diff line number Diff line
@@ -567,8 +567,13 @@ public class WindowTransformSwipeHandler extends BaseSwipeInteractionHandler {
                for (RemoteAnimationTargetCompat app : mRecentsAnimationWrapper.targets) {
                    if (app.mode == MODE_CLOSING) {
                        transaction.setMatrix(app.leash, mTmpMatrix)
                                .setWindowCrop(app.leash, mClipRect)
                                .show(app.leash);
                                .setWindowCrop(app.leash, mClipRect);

                        if (app.isNotInRecents) {
                            transaction.setAlpha(app.leash, 1 - shift);
                        }

                        transaction.show(app.leash);
                    }
                }
                transaction.apply();