public static ComponentName getComponentName(ActivityInfo activityInfo) {
        return new ComponentName(activityInfo.packageName, activityInfo.name);
    }
Those that has not service and broadcast and no activity.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/ComponentUtil.java