mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-10-30 14:44:09 +00:00
UiAutomatorWorkloads: Updated to use the new parameter passing functionality.
Each workload has be modfied to remove the old manual paremeter conversion and instead to retrieve the desired type from the parameter bundle directly.
This commit is contained in:
Binary file not shown.
@@ -38,7 +38,7 @@ public class UiAutomation extends BaseUiAutomation {
|
||||
public void runUiAutomation() throws Exception {
|
||||
Bundle status = new Bundle();
|
||||
Bundle params = getParams();
|
||||
boolean hasGpu = Boolean.parseBoolean(params.getString("has_gpu").toLowerCase());
|
||||
boolean hasGpu = params.getBoolean("has_gpu");
|
||||
|
||||
clearLogcat();
|
||||
handleFtuInfoDialogIfNecessary();
|
||||
|
||||
Reference in New Issue
Block a user