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

Commit aa4a6ba0 authored by Johannes Gallmann's avatar Johannes Gallmann Committed by Android (Google) Code Review
Browse files

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

This reverts commit f563b133.

Reason for revert: breaks testing environments

Bug: 415765055
Change-Id: I665373731dbda08f5755d841d9155ece58bf7caa
parent f563b133
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);