Always report unexpected errors

This commit is contained in:
M66B
2018-12-01 10:47:08 +01:00
parent fe60acee7c
commit ce88d04a0f
11 changed files with 115 additions and 1 deletions

View File

@@ -644,6 +644,11 @@ public class FragmentIdentity extends FragmentEx {
protected void onLoaded(Bundle args, Integer count) {
cbPrimary.setChecked(count == 0);
}
@Override
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(getContext(), ex);
}
}.load(FragmentIdentity.this, new Bundle());
} else {
tilPassword.getEditText().setText(savedInstanceState.getString("password"));
@@ -737,8 +742,18 @@ public class FragmentIdentity extends FragmentEx {
spAccount.setSelection(account);
}
}
@Override
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(getContext(), ex);
}
}.load(FragmentIdentity.this, args);
}
@Override
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(getContext(), ex);
}
}.load(this, args);
}
@@ -797,6 +812,11 @@ public class FragmentIdentity extends FragmentEx {
}
}
}
@Override
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(getContext(), ex);
}
}.load(this, args);
}