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:
parent
cf4ec25615
commit
c67b917fd1
@ -259,7 +259,7 @@ public class BaseUiAutomation {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void uiDeviceSwipeVertical(int startY, int endY, int xCoordinate, int steps) {
|
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) {
|
public void uiDeviceSwipeHorizontal(int startX, int endX, int yCoordinate, int steps) {
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user