mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 15:12:25 +00:00 
			
		
		
		
	ApkWorkload: clear app data on failed uninstall.
If uninstall fails, "pm clear" should be called to make sure that the next time the app is launched it starts from a known state (which would normally be ensured by the uninstall).
This commit is contained in:
		| @@ -258,6 +258,7 @@ class ApkWorkload(Workload): | ||||
|         if 'Failure' in output: | ||||
|             if 'ALREADY_EXISTS' in output: | ||||
|                 self.logger.warn('Using already installed APK (did not unistall properly?)') | ||||
|                 self.reset(context) | ||||
|             else: | ||||
|                 raise WorkloadError(output) | ||||
|         else: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user