Revert "Enable cursor to transition across multiple displays"
Revert submission 30111126-cd-cursor
Reason for revert: DroidMonitor: Potential culprit for http://b/379706345 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Reverted changes: /q/submissionid:30111126-cd-cursor
Change-Id: I103ede77057d5586faba00efffbe160e5ffa845a
diff --git a/services/inputflinger/tests/FakePointerController.cpp b/services/inputflinger/tests/FakePointerController.cpp
index adee12c..887a939 100644
--- a/services/inputflinger/tests/FakePointerController.cpp
+++ b/services/inputflinger/tests/FakePointerController.cpp
@@ -148,8 +148,8 @@
return mIsPointerShown;
}
-vec2 FakePointerController::move(float deltaX, float deltaY) {
- if (!mEnabled) return {};
+void FakePointerController::move(float deltaX, float deltaY) {
+ if (!mEnabled) return;
mX += deltaX;
if (mX < mMinX) mX = mMinX;
@@ -157,8 +157,6 @@
mY += deltaY;
if (mY < mMinY) mY = mMinY;
if (mY > mMaxY) mY = mMaxY;
-
- return {};
}
void FakePointerController::fade(Transition) {