mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
Applaunch: Update package to measured workload pkg.
Application launch workload runs the package of the workload which is being instrumented. Fps instrumentation requires the package name and hence the package name is changed to the workload package name during initialization. Tested on Huawei Mate8 with fps instrumentation ON.
This commit is contained in:
parent
40cc830de1
commit
b169b45e57
@ -115,6 +115,7 @@ class Applaunch(AndroidUxPerfWorkload):
|
||||
self.workload = loader.get_workload(self.workload_name, self.device,
|
||||
**self.workload_params)
|
||||
self.init_workload_resources(context)
|
||||
self.package = self.workload.package
|
||||
|
||||
def init_workload_resources(self, context):
|
||||
self.workload.uiauto_file = context.resolver.get(wlauto.common.android.resources.JarFile(self.workload))
|
||||
|
Loading…
x
Reference in New Issue
Block a user