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

Commit 38510172 authored by burakov's avatar burakov Committed by Danny Burakov
Browse files

[Dual Shade] Add missing return statement in onShadeExpansionGesture.

Fix: 438690268
Test: Manually tested by swiping down from the end-side on the launcher
 with Dual Shade disabled.
Flag: com.android.systemui.scene_container
Change-Id: Ie8068f7c8e2fde60f64e7539209c23c555af027a
parent 7588ee00
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -305,9 +305,7 @@ public class LauncherProxyService implements CallbackController<LauncherProxyLis
            if (ShadeWindowGoesAround.isEnabled() && !SceneContainerFlag.isEnabled()) {
                // For legacy shade case, don't attempt to handle touch events on display that
                // doesn't have the shade. They're handled with SceneContainerFlag enabled.
                boolean touchingDisplayWithoutShade =
                        event.getDisplayId() != mShadeDisplayPolicy.getDisplayId().getValue();
                return touchingDisplayWithoutShade;
                return event.getDisplayId() != mShadeDisplayPolicy.getDisplayId().getValue();
            }
            return false;
        }
@@ -514,6 +512,7 @@ public class LauncherProxyService implements CallbackController<LauncherProxyLis
            }
            if (!mShadeModeInteractor.get().isDualShade()) {
                mShadeInteractor.get().expandNotificationsShade(reason, null);
                return;
            }

            final DisplayInfo displayInfo = new DisplayInfo();