title: How to acknowledge when user doesn't want to connect to Google Play Services?
body: <p>If a user who is prompted to let my app access their Google Drive account hits "cancel," is there a way to acknowledge that they clicked cancel? Right now my application continuously asks them to choose a Google Drive account to use.</p>
  
  <p>This is the code:</p>
  
  <pre><code>    @Override
  public void onCreate(Bundle savedInstanceState) {
  
      super.onCreate(savedInstanceState);
      // This is the XML for this activity
      setContentView(R.layout.view_all_timelines_activity);
  
      // This is used for authentication and uploading to Google Drive
      googleApiClient = new GoogleApiClient.Builder(this).addApi(Drive.API)
              .addScope(Drive.SCOPE_FILE).addConnectionCallbacks(this)
              .addOnConnectionFailedListener(this).build();
  
      googleApiClient.connect();
  </code></pre>
  
  <p>How can I acknowledge if they say "Cancel" and don't want to connect? I don't want to constantly pester the user to log in.</p>