public static void addHistory(Intent intent, History history, KeyParceler parceler) {
<BUG>intent.putExtra(HISTORY_KEY, history.getParcelable(parceler));
}</BUG>
public static boolean onNewIntent(Intent intent, Activity activity) {
checkArgument(intent != null, "intent may not be null");
<BUG>if (intent.hasExtra(HISTORY_KEY)) {
InternalLifecycleIntegration.find(activity).onNewIntent(intent);</BUG>
return true;
}
return false;

public static void addHistory(Intent intent, History history, KeyParceler parceler) {
InternalLifecycleIntegration.addHistoryToIntent(intent, history, parceler);
}
public static boolean onNewIntent(Intent intent, Activity activity) {
checkArgument(intent != null, "intent may not be null");
if (intent.hasExtra(InternalLifecycleIntegration.INTENT_KEY)) {
InternalLifecycleIntegration.find(activity).onNewIntent(intent);
return true;
}
return false;
