Unexpected error handling

This commit is contained in:
M66B
2018-09-15 05:49:54 +00:00
parent d9384a8dfe
commit 1cc3d79ce9
15 changed files with 44 additions and 43 deletions

View File

@@ -29,7 +29,6 @@ import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
@@ -242,7 +241,7 @@ public class FragmentAbout extends FragmentEx {
@Override
protected void onException(Bundle args, Throwable ex) {
btnDebugInfo.setEnabled(true);
Toast.makeText(getContext(), ex.toString(), Toast.LENGTH_LONG).show();
Helper.unexpectedError(getContext(), ex);
}
}.load(FragmentAbout.this, new Bundle());
}