public static Intent forceNeverForwarding(final PackageManager pm, final Intent intent) {
		final List<ResolveInfo> candidates = pm.queryIntentActivities(intent, 0);
		if (candidates != null) for (final ResolveInfo candidate : candidates) {
			if ("android".equals(candidate.activityInfo.packageName)) continue;
			return intent.setComponent(new ComponentName(candidate.activityInfo.packageName, candidate.activityInfo.name));
		}
		return intent;
	}
Shuttle for cross-profile activity behaviors.

Created by Oasis on 2019-3-4.
shared/src/main/java/com/oasisfeng/island/shuttle/ActivityShuttle.java