code: public void setDefaultListName(String listName) throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException  {
          // The request of the list is an privacy message with an empty list
          Privacy request = new Privacy();
          request.setDefaultName(listName);
  
          // Send the package to the server
          setRequest(request);
      }
docs: Set or change the default list to listName.
  
  @param listName the list name to set as the default one.
  @throws XMPPErrorException
  @throws NoResponseException
  @throws NotConnectedException
  @throws InterruptedException