Merge "Remove logs since PipPinchInTest is fixed" into udc-dev am: 8f85ec1e56 am: 811857df97
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23039781 Change-Id: I0278a0fc41d2afee8e2b7364ef46fd3014483f91 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -20,7 +20,6 @@ import android.annotation.NonNull;
|
|||||||
import android.app.Instrumentation;
|
import android.app.Instrumentation;
|
||||||
import android.app.UiAutomation;
|
import android.app.UiAutomation;
|
||||||
import android.os.SystemClock;
|
import android.os.SystemClock;
|
||||||
import android.util.Log;
|
|
||||||
import android.view.InputDevice;
|
import android.view.InputDevice;
|
||||||
import android.view.InputEvent;
|
import android.view.InputEvent;
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
@@ -33,7 +32,6 @@ import androidx.annotation.Nullable;
|
|||||||
* Injects gestures given an {@link Instrumentation} object.
|
* Injects gestures given an {@link Instrumentation} object.
|
||||||
*/
|
*/
|
||||||
public class GestureHelper {
|
public class GestureHelper {
|
||||||
private static final String TAG = GestureHelper.class.getSimpleName();
|
|
||||||
// Inserted after each motion event injection.
|
// Inserted after each motion event injection.
|
||||||
private static final int MOTION_EVENT_INJECTION_DELAY_MILLIS = 5;
|
private static final int MOTION_EVENT_INJECTION_DELAY_MILLIS = 5;
|
||||||
|
|
||||||
@@ -210,9 +208,6 @@ public class GestureHelper {
|
|||||||
for (int j = 0; j < coords.length; j++) {
|
for (int j = 0; j < coords.length; j++) {
|
||||||
coords[j].x += (endPoints[j].x - startPoints[j].x) / steps;
|
coords[j].x += (endPoints[j].x - startPoints[j].x) / steps;
|
||||||
coords[j].y += (endPoints[j].y - startPoints[j].y) / steps;
|
coords[j].y += (endPoints[j].y - startPoints[j].y) / steps;
|
||||||
|
|
||||||
// TODO: remove logging once b/269505548 is resolved
|
|
||||||
Log.d(TAG, "(" + coords[j].x + ", " + coords[j].y + ")");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
eventTime = SystemClock.uptimeMillis();
|
eventTime = SystemClock.uptimeMillis();
|
||||||
|
|||||||
Reference in New Issue
Block a user