From a96091a4b7706847391c805202d13ec4b7b8687e Mon Sep 17 00:00:00 2001
From: Janik Besendorf <janik@besendorf.org>
Date: Tue, 4 May 2021 13:07:03 +0200
Subject: [PATCH] change report filename to "report.json"

---
 .../java/com/besendorf/androidsecurityscanner/MainActivity.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/src/main/java/com/besendorf/androidsecurityscanner/MainActivity.java b/app/src/main/java/com/besendorf/androidsecurityscanner/MainActivity.java
index 5a30192..56277f8 100644
--- a/app/src/main/java/com/besendorf/androidsecurityscanner/MainActivity.java
+++ b/app/src/main/java/com/besendorf/androidsecurityscanner/MainActivity.java
@@ -172,7 +172,7 @@ public class MainActivity extends AppCompatActivity {
         }
         reportTextView.setText(sreport);
         //write report to file
-        File output = new File(this.getExternalFilesDir(null), (Build.VERSION.RELEASE+Build.VERSION.INCREMENTAL+".json").replaceAll(" ",""));
+        File output = new File(this.getExternalFilesDir(null), ("report.json"));
         try {
             FileWriter writer;
             writer = new FileWriter(output);
-- 
GitLab