code: @Override
      protected final void onCreate(@Nullable Bundle savedInstanceState) {
          preInit(savedInstanceState);
          super.onCreate(savedInstanceState);
  
  
          if (ACRA.DEV_LOGGING) {
              ACRA.log.d(LOG_TAG, "CrashReportDialog extras=" + getIntent().getExtras());
          }
  
          final Serializable sConfig = getIntent().getSerializableExtra(DialogInteraction.EXTRA_REPORT_CONFIG);
          final Serializable sReportFile = getIntent().getSerializableExtra(DialogInteraction.EXTRA_REPORT_FILE);
  
          if ((sConfig instanceof CoreConfiguration) && (sReportFile instanceof File)) {
              config = (CoreConfiguration) sConfig;
              reportFile = (File) sReportFile;
              init(savedInstanceState);
          } else {
              ACRA.log.w(LOG_TAG, "Illegal or incomplete call of BaseCrashReportDialog.");
              finish();
          }
      }
docs: NB if you were previously creating and showing your dialog in this method,
  you should move that code to {@link #init(Bundle)}.
  
  @param savedInstanceState If the activity is being re-initialized then this Bundle contains the data it most recently supplied in {@link #onSaveInstanceState}.