-Changed global Rx exception handling to no longer trigger error activity if the exception is undeliverable.

-Added debug settings to force reporting of undeliverable Rx exceptions.
-Changed back MediaSourceManager to use serial disposable for syncing.
This commit is contained in:
John Zhen Mo 2018-02-20 22:35:25 -08:00
parent cc7f27fb53
commit 1a92dfb019
6 changed files with 66 additions and 13 deletions

View file

@ -58,6 +58,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)