mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 07:04:17 +00:00 
			
		
		
		
	antutu: Fixed runtime permissions
Antutu 6 lists corse_location as a requirement but also asks for fine_location at runtime. So it is now manually beign granted.
This commit is contained in:
		| @@ -80,6 +80,8 @@ class Antutu(AndroidUiAutoBenchmark): | ||||
|             info = ApkInfo(antutu_3d) | ||||
|             if not context.device.is_installed(info.package): | ||||
|                 self.device.install_apk(antutu_3d, timeout=120) | ||||
|             # Antutu doesnt seem to list this as one of its permissions, but it asks for it. | ||||
|             self.device.execute("pm grant com.antutu.ABenchMark android.permission.ACCESS_FINE_LOCATION") | ||||
|         super(Antutu, self).setup(context) | ||||
|  | ||||
|     def update_result(self, context): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user