/**
   * Handles the result of an activity performed on the UI of the Splash screen when calling
   * activity from the current instance has finished and released memory. Overrides the
   * android.app.Activity# onActivityResult method.
   *
   * @param requestCode A code representing a request to the UI of the Splash screen.
   * @param resultCode A code representing the result of an activity performed on the UI of the
   *     Splash screen.
   * @param data An Intent object that contains data associated with the result of the activity.
   */
  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == TERMS_ACTIVITY) {
      AROLogger.d(TAG, "inside onActivityResult, resultCode=" + resultCode);
      if (resultCode == AROCollectorLegalTermsActivity.TERMS_ACCEPTED) {
        AROLogger.d(TAG, "inside onActivityResult, starting main activity");
        startMainActivity();

      } else {
        AROLogger.d(TAG, "inside onActivityResult, term not accepted, closing activity");

        /*if (resultCode == AROCollectorLegalTermsActivity.TERMS_REJECTED){
        	resetAnalyzerLaunchWaitingIndicator();
        }*/
        finish();
      }
      if (aroDCStartWatchTimer != null && mApp.isRQMCollectorLaunchfromAnalyzer()) {
        aroDCStartWatchTimer.cancel();
      }
    }
    super.onActivityResult(requestCode, resultCode, data);
  }