Moving OrientationTouchTransformerTest to instrumentation tests

Bug: 196825541
Test: Presubmit
Change-Id: Ifb0b00f789214a8dde246ab13703211d536364af
This commit is contained in:
Sunny Goyal
2021-08-19 12:02:57 -07:00
parent 494bbb0b6c
commit 39aa2e0f1d
2 changed files with 10 additions and 6 deletions

View File

@@ -462,7 +462,7 @@ class OrientationTouchTransformer {
+ "mRotation: " + mRotation
+ " this: " + this);
}
event.transform(mTmpMatrix);
event.applyTransform(mTmpMatrix);
return true;
}
mTmpPoint[0] = event.getX();
@@ -478,7 +478,7 @@ class OrientationTouchTransformer {
}
if (contains(mTmpPoint[0], mTmpPoint[1])) {
event.transform(mTmpMatrix);
event.applyTransform(mTmpMatrix);
return true;
}
return false;