1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2026-04-17 12:21:22 +00:00

Update LeakCanary library

This commit is contained in:
TacoTheDank
2023-07-11 20:32:29 -04:00
parent e33bb676f9
commit db7de05f2b
3 changed files with 5 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ class DebugApp : App() {
initStetho()
// Give each object 10 seconds to be GC'ed, before LeakCanary gets nosy on it
AppWatcher.config = AppWatcher.config.copy(watchDurationMillis = 10000)
AppWatcher.manualInstall(this, retainedDelayMillis = 10000)
LeakCanary.config = LeakCanary.config.copy(
dumpHeap = PreferenceManager
.getDefaultSharedPreferences(this).getBoolean(