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

Commit 0af33181 authored by Justin Weir's avatar Justin Weir
Browse files

Remove call to postToView

Calling collectFlow has the same effect, so it is not necessary. The
call is the last one outside the shade package, so this allows us to
remove it from the interface.

Bug: 303267342
Flag: NONE
Test: Manual and presubmits
Change-Id: I69a29fa3f6b4c9520351e114ae9fcb52a0eebc67
parent 3f220263
Loading
Loading
Loading
Loading
+13 −14
Original line number Diff line number Diff line
@@ -482,7 +482,6 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb

        if (KeyguardWmStateRefactor.isEnabled()) {
            // Show the keyguard views whenever we've told WM that the lockscreen is visible.
            mShadeViewController.postToView(() ->
            collectFlow(
                    getViewRootImpl().getView(),
                    combineFlows(
@@ -495,7 +494,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
                                    // view without waiting for the animation to end.
                                    lockscreenVis || animatingSurface
                    ),
                        this::consumeShowStatusBarKeyguardView));
                    this::consumeShowStatusBarKeyguardView);
        }
    }