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

Commit 191c65bb authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Revert "Fix crash due to gesture monitor registered on virtual display"" into main

parents 3a10cea8 aa4a6ba0
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -703,11 +703,7 @@ public class EdgeBackGestureHandler {
                }
                Display display = mDisplayManager.getDisplay(displayId);
                if (display == null) {
                    Log.w(TAG, "onDisplayAddSystemDecorations: can't find display");
                    return;
                }
                if (display.getType() != Display.TYPE_EXTERNAL) {
                    Log.w(TAG, "onDisplayAddSystemDecorations: display is not of TYPE_EXTERNAL");
                    Log.w(TAG, "createDisplayBackGestureHandler: can't find display");
                    return;
                }
                removeAndDisposeDisplayResource(displayId);