code: public static ResolveInfo newResolveInfo(String displayName, String packageName, String activityName) {
      ResolveInfo resInfo = new ResolveInfo();
      ActivityInfo actInfo = new ActivityInfo();
      actInfo.applicationInfo = new ApplicationInfo();
      actInfo.packageName = packageName;
      actInfo.applicationInfo.packageName = packageName;
      actInfo.name = activityName;
      resInfo.activityInfo = actInfo;
      resInfo.nonLocalizedLabel = displayName;
      return resInfo;
    }
docs: Creates a {@link ResolveInfo}.
  
  @param displayName Display name.
  @param packageName Package name.
  @param activityName Activity name.
  @return Resolve info instance.