code: public void setAvailableSubscriptionInfos(SubscriptionInfo... infos) {
      if (infos == null) {
        setAvailableSubscriptionInfoList(ImmutableList.of());
      } else {
        setAvailableSubscriptionInfoList(Arrays.asList(infos));
      }
    }
docs: Sets the active list of {@link SubscriptionInfo}. This call internally triggers {@link
  OnSubscriptionsChangedListener#onSubscriptionsChanged()} to all the listeners.