Store memory dumps in cache folder
This commit is contained in:
parent
8935534a81
commit
a382c40c20
@ -72,7 +72,7 @@ fun DebugSettingsScreen() {
|
|||||||
dumpingHeap = true
|
dumpingHeap = true
|
||||||
val df = SimpleDateFormat("yyyy-MM-dd-HH-mm-ss")
|
val df = SimpleDateFormat("yyyy-MM-dd-HH-mm-ss")
|
||||||
val path = File(
|
val path = File(
|
||||||
context.getExternalFilesDir(null),
|
context.externalCacheDir,
|
||||||
"kvaesitso-dump-${df.format(Date(System.currentTimeMillis()))}.hprof"
|
"kvaesitso-dump-${df.format(Date(System.currentTimeMillis()))}.hprof"
|
||||||
).absolutePath
|
).absolutePath
|
||||||
delay(100)
|
delay(100)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user