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

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

Merge "Fix legacy recents crash on Go devices" into qt-dev

parents 9637326e 8b62e317
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -662,11 +662,17 @@ public class LegacyRecentsImpl implements RecentsImplementation {

    public final void onBusEvent(ExpandPipEvent event) {
        PipUI pipUi = getComponent(PipUI.class);
        if (pipUi == null) {
            return;
        }
        pipUi.expandPip();
    }

    public final void onBusEvent(HidePipMenuEvent event) {
        PipUI pipUi = getComponent(PipUI.class);
        if (pipUi == null) {
            return;
        }
        event.getAnimationTrigger().increment();
        pipUi.hidePipMenu(() -> {
                event.getAnimationTrigger().increment();