Merge branch 'player_fix' of https://github.com/karyogamy/NewPipe into dev

This commit is contained in:
Christian Schabesberger 2018-02-21 23:20:08 +01:00
commit 72a9940863
3 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ public class DebugApp extends App {
@Override
protected boolean isDisposedRxExceptionsReported() {
return PreferenceManager.getDefaultSharedPreferences(this)
.getBoolean(getString(R.string.allow_disposed_exceptions_key), true);
.getBoolean(getString(R.string.allow_disposed_exceptions_key), false);
}
@Override

View File

@ -215,6 +215,6 @@ public class App extends Application {
}
protected boolean isDisposedRxExceptionsReported() {
return true;
return false;
}
}

View File

@ -11,7 +11,7 @@
android:summary="@string/enable_leak_canary_summary"/>
<SwitchPreference
android:defaultValue="true"
android:defaultValue="false"
android:key="@string/allow_disposed_exceptions_key"
android:title="@string/enable_disposed_exceptions_title"
android:summary="@string/enable_disposed_exceptions_summary"/>