title: Could not change the group owner ( Group Owner Intent )
body: <p>I just add two buttons on the <strong>WiFiDirectDemo</strong> provided by Google. One of the button is called "Owner" and the other is "Client".</p>
  
  <p><strong>I what two device to choose if they what to be the owner or not.</strong> </p>
  
  <p>In the beginning, I thought it would work if I change the number between <strong>0 and 15</strong>:</p>
  
  <pre><code>config.groupOwnerIntent = 0;
  </code></pre>
  
  <p>But it didn't work.</p>
  
  <p><strong>One of the device keeping act as Group Owner.</strong> Even if I change the "groupOwnerIntent".</p>
  
  <p>Here is my code ( DeviceDetailFragment.java ):</p>
  
  <pre><code>mContentView.findViewById(R.id.btn_owner).setOnClickListener(
  new View.OnClickListener() {
      @Override
      public void onClick(View v) {
      intentNumber = 15;
      Toast.makeText(v.getContext(),String.valueOf(intentNumber), 
            Toast.LENGTH_LONG).show();
      }
  });
  
  mContentView.findViewById(R.id.btn_client).setOnClickListener(
  new View.OnClickListener() {
      @Override
  public void onClick(View v) {
      intentNumber = 0;
      Toast.makeText(v.getContext(), String.valueOf(intentNumber), 
                Toast.LENGTH_LONG).show();
      }
  });
  
  //********************************************************************
  
      mContentView.findViewById(R.id.btn_connect)
                            .setOnClickListener(new View.OnClickListener() {
      @Override
      public void onClick(View v) {
          //WifiP2pConfig config = chooseOwner(ownerIntentNumber);
          WifiP2pConfig config = new WifiP2pConfig();
      config.deviceAddress = device.deviceAddress;
      config.wps.setup = WpsInfo.PBC;
      config.groupOwnerIntent = intentNumber;
      Toast.makeText(v.getContext(), String.valueOf(intentNumber), 
                    Toast.LENGTH_LONG).show();
      }   
  });
  </code></pre>
  
  <p>Please give me some advise. Thank you very much.</p>
  
  <p>My devices are two Nexus 7. </p>