Lifecycle aware unexpected error handling

This commit is contained in:
M66B
2018-12-01 13:04:41 +01:00
parent 1d2ee534a7
commit 2665c33f68
16 changed files with 90 additions and 89 deletions

View File

@@ -178,7 +178,7 @@ public class FragmentOptions extends FragmentEx implements SharedPreferences.OnS
@Override
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(getContext(), ex);
Helper.unexpectedError(getContext(), getViewLifecycleOwner(), ex);
}
}.load(FragmentOptions.this, null);
}