title: How to detect dismissal of the google "choose account" dialog
body: <p>I'm integrating Google SSO in my Android app.
  I would like to know when a user was prompted with the choose account dialog and decided to click on the background, so the dialog was dismissed.</p>
  <p>The choose account dialog is triggers by:</p>
  <pre><code>    @Override
      public void onConnected(Bundle connectionHint) {
          Intent signInIntent = Auth.GoogleSignInApi.getSignInIntent(mGoogleApiClient);
          Activity activity = MyActivity.getActivity();
          activity.startActivityForResult(signInIntent, RC_GET_TOKEN);    
      }
  </code></pre>
  <p>I'm using onActivityResult, but I don't know how to distinct a failure in login and a dismissal of the dialog.</p>
  <pre><code>public void onActivityResult(int requestCode, int resultCode, Intent data) {
      super.onActivityResult(requestCode, resultCode, data);
      if (requestCode == RC_GET_TOKEN) {
          GoogleSignInResult result = Auth.GoogleSignInApi.getSignInResultFromIntent(data);
          if (result.isSuccess()) {
              //do something
          } else {
              // This is where I get when sign in fails, or when user dismisses the dialog
          }
      }
  }
  </code></pre>
  <p>Help is much appreciated,
  Thanks,
  Giora.</p>