code: private ShareTarget findShareTarget(String pkg) {
          for (ShareTarget target : mShareTargets) {
              if (pkg.equals(target.packageName)) {
                  return target;
              }
          }
          return null;
      }
docs: 根据报名查找某个ShareTarget
  
  @param pkg 包名
  @return index