Remove the concept of TOUCH_MODAL from input

Bug: 216806304
Test: atest inputflinger_tests
Change-Id: I9593865213216b420ab9b5c5b853298f01dabcc6
This commit is contained in:
Prabir Pradhan
2022-02-04 09:29:24 -08:00
parent 2b5059fda7
commit 1d2653febd

View File

@@ -184,11 +184,6 @@ bool NativeInputWindowHandle::updateInfo() {
mInfo.inputConfig |= InputConfig::NOT_TOUCHABLE;
}
FALLTHROUGH_INTENDED;
case InputConfig::TOUCH_MODAL:
if (!flags.test(WindowInfo::Flag::NOT_TOUCH_MODAL)) {
mInfo.inputConfig |= InputConfig::TOUCH_MODAL;
}
FALLTHROUGH_INTENDED;
case InputConfig::PREVENT_SPLITTING:
if (!flags.test(WindowInfo::Flag::SPLIT_TOUCH)) {
mInfo.inputConfig |= InputConfig::PREVENT_SPLITTING;