package android.support.v4.app;

import android.app.Activity;
import android.content.Intent;
import android.content.pm.ActivityInfo;

class NavUtilsJB {
	NavUtilsJB() {
		super();
	}

	public static Intent getParentActivityIntent(Activity activity) {
		return activity.getParentActivityIntent();
	}

	public static String getParentActivityName(ActivityInfo info) {
		return info.parentActivityName;
	}

	public static void navigateUpTo(Activity activity, Intent upIntent) {
		activity.navigateUpTo(upIntent);
	}

	public static boolean shouldUpRecreateTask(Activity activity, Intent targetIntent) {
		return activity.shouldUpRecreateTask(targetIntent);
	}
}
