Store memory dumps in cache folder

This commit is contained in:
MM20 2024-05-05 12:27:20 +02:00
parent 8935534a81
commit a382c40c20
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -72,7 +72,7 @@ fun DebugSettingsScreen() {
dumpingHeap = true
val df = SimpleDateFormat("yyyy-MM-dd-HH-mm-ss")
val path = File(
context.getExternalFilesDir(null),
context.externalCacheDir,
"kvaesitso-dump-${df.format(Date(System.currentTimeMillis()))}.hprof"
).absolutePath
delay(100)