From 2b5d249b08efd4fbd9e6c28362f33b11a963780b Mon Sep 17 00:00:00 2001 From: Siarhei Vishniakou Date: Fri, 27 Dec 2024 16:59:46 -0800 Subject: Remove non-split touch from input code The behaviour was changed to permanently split since 24Q4. Therefore, all of the existing complexity around supporting non-split can now be removed. Bug: 239934827 Test: TEST=inputflinger_tests; m $TEST && $ANDROID_HOST_OUT/nativetest64/$TEST/$TEST Flag: NONE removing flag Change-Id: I8ca23d502a4c23de2dfafbd7653318b8909912ce --- libs/gui/WindowInfo.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libs/gui/WindowInfo.cpp') diff --git a/libs/gui/WindowInfo.cpp b/libs/gui/WindowInfo.cpp index 82d2554340..e1a7ac9b18 100644 --- a/libs/gui/WindowInfo.cpp +++ b/libs/gui/WindowInfo.cpp @@ -73,10 +73,6 @@ void WindowInfo::addTouchableRegion(const Rect& region) { touchableRegion.orSelf(region); } -bool WindowInfo::supportsSplitTouch() const { - return !inputConfig.test(InputConfig::PREVENT_SPLITTING); -} - bool WindowInfo::isSpy() const { return inputConfig.test(InputConfig::SPY); } -- cgit v1.2.3-59-g8ed1b