docs: public static void restartActivity(final Activity activity) {
          Intent intent = activity.getIntent();
          activity.overridePendingTransition(0, 0);
          intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
          activity.finish();
          activity.overridePendingTransition(0, 0);
          activity.startActivity(intent);
      }