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

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

Merge "Fix local coordinates for touchable region" into main

parents 5e7e258b c22e3d2f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2655,7 +2655,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
            // The client gave us a touchable region and so first
            // we calculate the untouchable region, then punch that out of our
            // expanded modal region.
            mTmpRegion.set(0, 0, frame.right, frame.bottom);
            mTmpRegion.set(0, 0, frame.width(), frame.height());
            mTmpRegion.op(mGivenTouchableRegion, Region.Op.DIFFERENCE);
            region.op(mTmpRegion, Region.Op.DIFFERENCE);
        }