1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2026-04-13 18:31:23 +00:00

Merge branch 'pfix' into dev

This commit is contained in:
Christian Schabesberger
2018-02-21 23:00:56 +01:00
31 changed files with 309 additions and 239 deletions

View File

@@ -65,6 +65,12 @@ public class DebugApp extends App {
Stetho.initialize(initializer);
}
@Override
protected boolean isDisposedRxExceptionsReported() {
return PreferenceManager.getDefaultSharedPreferences(this)
.getBoolean(getString(R.string.allow_disposed_exceptions_key), true);
}
@Override
protected RefWatcher installLeakCanary() {
return LeakCanary.refWatcher(this)