code: @CheckResult public static boolean onNewIntent(@NonNull Intent intent,
        @NonNull Activity activity) {
      //noinspection ConstantConditions
      checkArgument(intent != null, "intent may not be null");
      if (intent.hasExtra(InternalLifecycleIntegration.INTENT_KEY)) {
        InternalLifecycleIntegration.require(activity).onNewIntent(intent);
        return true;
      }
      return false;
    }
docs: Handles an Intent carrying a History extra.
  
  @return true if the Intent contains a History and it was handled.