Skip to content

Commit

Permalink
didn't know that was a risk here. (from play store report) (#693)
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Carra <rksh@wigle.net>
  • Loading branch information
rksh and Andy Carra authored Mar 12, 2024
1 parent d53f0eb commit 1ff0020
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,11 @@ public void handleMessage( final Message msg ) {
}

final MainActivity mainActivity = MainActivity.getMainActivity();
final Intent errorReportIntent = new Intent( mainActivity, ErrorReportActivity.class );
errorReportIntent.putExtra( ERROR_REPORT_DIALOG, error );
mainActivity.startActivity( errorReportIntent );
if (null != mainActivity) {
final Intent errorReportIntent = new Intent(mainActivity, ErrorReportActivity.class);
errorReportIntent.putExtra(ERROR_REPORT_DIALOG, error);
mainActivity.startActivity(errorReportIntent);
}
}
}

Expand Down

0 comments on commit 1ff0020

Please sign in to comment.