fix chrome activity name in systemapps.sh
the activity name for chrome changed recently which broke
systemapps.sh for some devices/builds. This change removes
the dependance on the chrome activity name in systemapps.sh
Change-Id: I7f194a5c60221650300b6ab0df526f5bdf4b7f79
diff --git a/tests/workloads/defs.sh b/tests/workloads/defs.sh
index dbed4dd..a2b7138 100755
--- a/tests/workloads/defs.sh
+++ b/tests/workloads/defs.sh
Binary files differ
diff --git a/tests/workloads/systemapps.sh b/tests/workloads/systemapps.sh
index 0978dbd..a263e7d 100755
--- a/tests/workloads/systemapps.sh
+++ b/tests/workloads/systemapps.sh
@@ -210,9 +210,10 @@
else
stopAndDumpInstramentation $tmpTraceOut
actName=$(getActivityName $app)
+ pkgName=$(getPackageName $app)
stime=$(getStartTime $actName $tmpTraceOut)
relaunch=$?
- etime=$(getEndTime $actName $tmpTraceOut)
+ etime=$(getEndTime $pkgName $tmpTraceOut)
((tdiff=$etime-$stime))
if [ $etime -eq 0 -o $stime -eq 0 ]; then
handleError $app : could not compute start time stime=$stime etime=$etime