code: public static void addHistory(@NonNull Intent intent, @NonNull History history,
        @NonNull KeyParceler parceler) {
      InternalLifecycleIntegration.addHistoryToIntent(intent, history, parceler);
    }
docs: Adds a history as an extra to an Intent.