1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-21 20:38:57 +00:00

BaseUiAutomator: fix uiDeviceSwipeVertical

As it is implemented, it does the same as uiDeviceSwipeHorizontal.
Pass the x coordinates and y coordinates properly.
This commit is contained in:
Javi Merino 2018-04-05 16:25:54 +01:00 committed by Marc Bonnici
parent cf4ec25615
commit c67b917fd1
2 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ public class BaseUiAutomation {
}
public void uiDeviceSwipeVertical(int startY, int endY, int xCoordinate, int steps) {
mDevice.swipe(startY, xCoordinate, endY, xCoordinate, steps);
mDevice.swipe(xCoordinate, startY, xCoordinate, endY, steps);
}
public void uiDeviceSwipeHorizontal(int startX, int endX, int yCoordinate, int steps) {

Binary file not shown.