mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-22 12:58:36 +00: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:
parent
b64c615e8e
commit
18e47c89c5
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user