code: private boolean loadActivitiesIfNeeded() {
          if (mReloadActivities && mIntent != null) {
              mReloadActivities = false;
              mActivities.clear();
              List<ResolveInfo> resolveInfos = mContext.getPackageManager()
                      .queryIntentActivities(mIntent, 0);
              final int resolveInfoCount = resolveInfos.size();
              for (int i = 0; i < resolveInfoCount; i++) {
                  ResolveInfo resolveInfo = resolveInfos.get(i);
                  mActivities.add(new ActivityResolveInfo(resolveInfo));
              }
              return true;
          }
          return false;
      }
docs: Loads the activities for the current intent if needed which is
  if they are not already loaded for the current intent.
  
  @return Whether loading was performed.