Fix broken CtsVerifierReportLog handling.

Fix incorrect type-cast in test end handler
Replaced (only inadvertently working) mechanism
for storing ReportLog results with explicit handling.
Implement 'final' method(s) for generating ReportLog filename.

Bug: 186561084
Bug: 186720548

Test: build, install, run AudioTests, Streaming Video Test...
Change-Id: Ib69b48d1499c5cd0a74918ac82444b70f5599479
Merged-In: Ib69b48d1499c5cd0a74918ac82444b70f5599479
diff --git a/apps/CtsVerifier/src/com/android/cts/verifier/PassFailButtons.java b/apps/CtsVerifier/src/com/android/cts/verifier/PassFailButtons.java
index 0294ff7..b321c60 100644
--- a/apps/CtsVerifier/src/com/android/cts/verifier/PassFailButtons.java
+++ b/apps/CtsVerifier/src/com/android/cts/verifier/PassFailButtons.java
@@ -347,8 +347,6 @@
         public TestListActivity() {
             // TODO(b/186555602): temporary hack^H^H^H^H workaround to fix crash
             // This DOES NOT in fact fix that bug.
-            // if (true) this.mReportLog = new CtsVerifierReportLog(b/186555602, "42"); else
-
             this.mReportLog = new CtsVerifierReportLog(getReportFileName(), getReportSectionName());
         }