Fix InputSurfacesTest.input_respects_scaled_touchable_region_overflow

When there is an overflow while the touchable region is being
transformed, we skip the touchable region calculation, which results in
the touchable region being empty. This means the layer that was
misconfigured will not be touchable, so the touch will go to the
background surface.

Bug: 240566619
Bug: 240437119
Test: atest libgui_test:InputSurfacesTest
Change-Id: I4ec7f2b7544297aa25ee216cbbe1ddf1cd32f9f1
diff --git a/libs/gui/tests/EndToEndNativeInputTest.cpp b/libs/gui/tests/EndToEndNativeInputTest.cpp
index 9e8c65c..986add9 100644
--- a/libs/gui/tests/EndToEndNativeInputTest.cpp
+++ b/libs/gui/tests/EndToEndNativeInputTest.cpp
@@ -628,7 +628,7 @@
 
     // Expect no crash for overflow.
     injectTap(12, 24);
-    fgSurface->expectTap(6, 12);
+    bgSurface->expectTap(12, 24);
 }
 
 // Ensure we ignore transparent region when getting screen bounds when positioning input frame.