mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 07:04:17 +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.
										
									
								
							| @@ -41,7 +41,7 @@ public class UiAutomation extends BaseUiAutomation { | ||||
|         Bundle status = new Bundle(); | ||||
|         Bundle params = getParams(); | ||||
|         String numThreads = params.getString("number_of_threads"); | ||||
|         Boolean nativeOnly = Boolean.parseBoolean(params.getString("native_only")); | ||||
|         Boolean nativeOnly = params.getBoolean("native_only"); | ||||
|         status.putString("product", getUiDevice().getProductName()); | ||||
|  | ||||
|         waitForStartButton(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user