title: Turning bluetooth on, gives back wrong request code in onActivityResult
body: <p>This is my code, for turning on the bluetooth:</p>
  
  <pre><code>Intent enableBtIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
  startActivityForResult(enableBtIntent, REQUEST_ENABLE_BT);
  </code></pre>
  
  <p>Also:</p>
  
  <pre><code>public static final int REQUEST_ENABLE_BT = 9;
  </code></pre>
  
  <p>This is my onActivityResult:</p>
  
  <pre><code>@Override
  public void onActivityResult(int requestCode, int resultCode, Intent data) {
      switch (requestCode) {
      case REQUEST_ENABLE_BT:
          if (resultCode == Activity.RESULT_OK) {
              bluetoothSetupDone();
          } else {
              // User did not enable Bluetooth or an error occurred
          }
      break;
  
      default:
          super.onActivityResult(requestCode, resultCode, data);
          break;
      }
  
  }
  </code></pre>
  
  <p>The result code is correct, but the request code is not. </p>
  
  <p>Even if the user presses no, or yes on the popup dialog for turning on bluetooth. The value of the requestCode variable in the onActivityResult is some random number (196617), but it should be 9.</p>