summaryrefslogtreecommitdiff
path: root/libs/input/Input.cpp
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-03-12 08:48:23 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-03-12 08:48:23 +0000
commit37cf33ce66b543580a0cdacc6869887cfebf3450 (patch)
tree6adcca556c9845f8194e2ec7509bd3d9443db7ff /libs/input/Input.cpp
parentd23f53f9a9e602f061553ef9b0f639d89d57f304 (diff)
parent1a41fe079e3347a017134fc74d0fd145420e1847 (diff)
Merge "Increase leniency of precondition check for MotionEvent::split" into main
Diffstat (limited to 'libs/input/Input.cpp')
-rw-r--r--libs/input/Input.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/input/Input.cpp b/libs/input/Input.cpp
index ff9d9a94c9..61a964ece9 100644
--- a/libs/input/Input.cpp
+++ b/libs/input/Input.cpp
@@ -1034,7 +1034,8 @@ std::tuple<int32_t, std::vector<PointerProperties>, std::vector<PointerCoords>>
(splitPointerProperties.size() * (historySize + 1)));
if (CC_UNLIKELY(splitPointerProperties.size() != splitCount)) {
- LOG(FATAL) << "Cannot split MotionEvent: Requested splitting " << splitCount
+ // TODO(b/329107108): Promote this to a fatal check once bugs in the caller are resolved.
+ LOG(ERROR) << "Cannot split MotionEvent: Requested splitting " << splitCount
<< " pointers from the original event, but the original event only contained "
<< splitPointerProperties.size() << " of those pointers.";
}