mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 11:22:41 +01:00
Skype: Fixes launch command for intrumented testing.
Without specifying user `-3' for the launch command, the application is by default attempted to be launched with permissions that are only grantable to system apps.
This commit is contained in:
@@ -98,7 +98,7 @@ public class UiAutomation extends UxPerfUiAutomation implements ApplaunchInterfa
|
|||||||
String launch_command;
|
String launch_command;
|
||||||
String actionName = "android.intent.action.VIEW";
|
String actionName = "android.intent.action.VIEW";
|
||||||
String dataURI = "skype:dummy?dummy";
|
String dataURI = "skype:dummy?dummy";
|
||||||
launch_command = String.format("am start -a %s -d %s", actionName, dataURI);
|
launch_command = String.format("am start --user -3 -a %s -d %s", actionName, dataURI);
|
||||||
return launch_command;
|
return launch_command;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user