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

Commit 021d871e authored by Adrian Roos's avatar Adrian Roos
Browse files

Gesture Exclusion: Fix crash when exclusion updates after detaching window

Fixes: 129268298
Test: atest android.view.cts.SystemGestureExclusionRectsTest
Change-Id: I9dd72f7905ca859974e3b36150cd6fe38f771918
parent 18fb6cdb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3986,7 +3986,7 @@ public final class ViewRootImpl implements ViewParent,

    void systemGestureExclusionChanged() {
        final List<Rect> rectsForWindowManager = mGestureExclusionTracker.computeChangedRects();
        if (rectsForWindowManager != null) {
        if (rectsForWindowManager != null && mView != null) {
            try {
                mWindowSession.reportSystemGestureExclusionChanged(mWindow, rectsForWindowManager);
            } catch (RemoteException e) {