mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-04 04:12:42 +01:00
Uiauto2 Workloads: Fixes applaunch bug in androind N
In order to workaround an bug in applaunch running on android N, all of the workloads have been updated to the latest gradle build system, the timeout in the baseclass has been changed from a TimeUnit to a regualr long and a duplicately declared parameter bundle has been removed.
This commit is contained in:
@@ -45,7 +45,8 @@ import static android.support.test.InstrumentationRegistry.getArguments;
|
||||
|
||||
public class BaseUiAutomation {
|
||||
|
||||
public long uiAutoTimeout = TimeUnit.SECONDS.toMillis(4);
|
||||
// Time in milliseconds
|
||||
public long uiAutoTimeout = 4000;
|
||||
|
||||
public enum ScreenOrientation { RIGHT, NATURAL, LEFT };
|
||||
public enum Direction { UP, DOWN, LEFT, RIGHT, NULL };
|
||||
|
@@ -21,7 +21,6 @@ import java.util.logging.Logger;
|
||||
|
||||
public class UxPerfUiAutomation extends BaseUiAutomation {
|
||||
|
||||
protected Bundle parameters;
|
||||
protected String packageName;
|
||||
protected String packageID;
|
||||
|
||||
|
Reference in New Issue
Block a user