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

Commit 89028420 authored by Ben Lin's avatar Ben Lin Committed by Android (Google) Code Review
Browse files

Merge "Always remove cached exclusion regions when display removed" into main

parents 16b177a4 48799bda
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -127,12 +127,12 @@ class WindowDecorationGestureExclusionTracker(
                is IllegalArgumentException, is RemoteException -> {
                    // Catching both IllegalArgumentException and RemoteException with Exception
                    Slog.e(TAG,
                        "Failed to unregister window manager callbacks for display: $displayId", ex)
                        "Failed to unregister window manager callbacks for display: $displayId")
                }
                else -> throw ex
            }
            exclusionRegions.remove(displayId)
        }
        exclusionRegions.remove(displayId)
    }

    override fun toString(): String {