diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-04-26 20:15:21 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-04-26 20:15:21 +0000 |
commit | 495d619b225f0e1fbca0b3a0b275beaf8ce27720 (patch) | |
tree | 70c961cf9edafac421b4f1b84214e3212acd4576 | |
parent | fbfc0e95eab52b15aaa95ab218e6511c5253366e (diff) | |
parent | d47018601b9db4faa7c3a1a25f1ba13f4bfe5713 (diff) | |
download | cts-495d619b225f0e1fbca0b3a0b275beaf8ce27720.tar.gz |
Snap for 11771320 from d47018601b9db4faa7c3a1a25f1ba13f4bfe5713 to android13-tests-release
Change-Id: I6d4c3fc9bf6dcfc9ab71c805550efacc212fb6be
-rw-r--r-- | apps/CtsVerifier/src/com/android/cts/verifier/ReportExporter.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/CtsVerifier/src/com/android/cts/verifier/ReportExporter.java b/apps/CtsVerifier/src/com/android/cts/verifier/ReportExporter.java index baa19519c26..f603baa858f 100644 --- a/apps/CtsVerifier/src/com/android/cts/verifier/ReportExporter.java +++ b/apps/CtsVerifier/src/com/android/cts/verifier/ReportExporter.java @@ -138,15 +138,16 @@ public class ReportExporter extends AsyncTask<Void, Void, String> { verifierReportsDir.mkdirs(); String suiteName = Version.getMetadata(mContext, SUITE_NAME_METADATA_KEY); + String reportName = getReportName(suiteName); // create a temporary directory for this particular report - File tempDir = new File(verifierReportsDir, getReportName(suiteName)); + File tempDir = new File(verifierReportsDir, reportName); tempDir.mkdirs(); // Pull in any ReportLogs copyReportFiles(tempDir); // create a File object for a report ZIP file - File reportZipFile = new File(verifierReportsDir, getReportName(suiteName) + ZIP_EXTENSION); + File reportZipFile = new File(verifierReportsDir, reportName + ZIP_EXTENSION); try { // Serialize the report |