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

Commit 35208bbf authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Control SystemUI flags depending on swipe-up progress

Test: Swipe up on light nav/status bar app.
Bug: 73498721
Change-Id: I65805e3b6ad588c3f50fcf8b11d8f2417e35f9ea
parent 3c0c8189
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -606,6 +606,12 @@ public class WindowTransformSwipeHandler extends BaseSwipeInteractionHandler {
                        mTargetRect.offset(offsetX, 0);
                    }
                }
                if (mRecentsAnimationWrapper.controller != null) {

                    // TODO: This logic is spartanic!
                    mRecentsAnimationWrapper.controller.setAnimationTargetsBehindSystemBars(
                            shift < 0.12f);
                }
            };
            if (Looper.getMainLooper() == Looper.myLooper()) {
                runOnUi.run();