Fix camera frame stress tests reporting.

Test: local run
https://sponge.corp.google.com/invocation?tab=Test+Cases&show=FAILED&show=INTERNAL_ERROR&id=3b8a3ebf-6d96-4e33-ad9a-026be741aa37
Bug: 37223747

Change-Id: I89e541dcb175226e069595034fe64886bbb7e858
diff --git a/src/com/android/media/tests/Camera2FrameworkStressTest.java b/src/com/android/media/tests/Camera2FrameworkStressTest.java
index f9e949b..8d62595 100644
--- a/src/com/android/media/tests/Camera2FrameworkStressTest.java
+++ b/src/com/android/media/tests/Camera2FrameworkStressTest.java
@@ -90,7 +90,7 @@
         }
 
         @Override
-        public void testEnded(TestIdentifier test, Map<String, String> testMetrics) {
+        public void testEnded(TestIdentifier test, long endTime, Map<String, String> testMetrics) {
             if (hasTestRunFatalError()) {
                 CLog.v("The instrumentation result not found. Fall back to get the metrics from a "
                         + "log file. errorMsg: %s", getCollectingListener().getErrorMessage());
@@ -98,7 +98,7 @@
 
             // For stress test, parse the metrics from a log file.
             testMetrics = parseLog(test.getTestName());
-            super.testEnded(test, testMetrics);
+            super.testEnded(test, endTime, testMetrics);
         }
 
         // Return null if failed to parse the result file or the test didn't even start.