summaryrefslogtreecommitdiff
path: root/libs/gui
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2024-12-27 16:59:46 -0800
committer Siarhei Vishniakou <svv@google.com> 2025-01-06 17:38:56 -0800
commit2b5d249b08efd4fbd9e6c28362f33b11a963780b (patch)
tree3348033bac909129e88f4770a125a3b3036d1537 /libs/gui
parenta5bbaad8cb105fa87553c50f97659992db52a780 (diff)
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
Diffstat (limited to 'libs/gui')
-rw-r--r--libs/gui/WindowInfo.cpp4
-rw-r--r--libs/gui/include/gui/WindowInfo.h2
2 files changed, 0 insertions, 6 deletions
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);
}
diff --git a/libs/gui/include/gui/WindowInfo.h b/libs/gui/include/gui/WindowInfo.h
index eb3be5588a..f7e6084eef 100644
--- a/libs/gui/include/gui/WindowInfo.h
+++ b/libs/gui/include/gui/WindowInfo.h
@@ -150,8 +150,6 @@ struct WindowInfo : public Parcelable {
static_cast<uint32_t>(os::InputConfig::NOT_FOCUSABLE),
NOT_TOUCHABLE =
static_cast<uint32_t>(os::InputConfig::NOT_TOUCHABLE),
- PREVENT_SPLITTING =
- static_cast<uint32_t>(os::InputConfig::PREVENT_SPLITTING),
DUPLICATE_TOUCH_TO_WALLPAPER =
static_cast<uint32_t>(os::InputConfig::DUPLICATE_TOUCH_TO_WALLPAPER),
IS_WALLPAPER =