public void finish(){
  if (mAccountAuthenticatorResponse != null) {
    if (mResultBundle != null) {
      mAccountAuthenticatorResponse.onResult(mResultBundle);
    }
 else {
      mAccountAuthenticatorResponse.onError(AccountManager.ERROR_CODE_CANCELED,"canceled");
    }
    mAccountAuthenticatorResponse=null;
  }
  super.finish();
}

public void finish ( ) { if ( mAccountAuthenticatorResponse != null ) { if ( mResultBundle != null ) { mAccountAuthenticatorResponse . onResult ( mResultBundle ) ; } else { mAccountAuthenticatorResponse . onError ( AccountManager . ERROR_CODE_CANCELED , "canceled" ) ; } mAccountAuthenticatorResponse = null ; } super . finish ( ) ; }
sends the result or a constants . error_code_canceled error if a result isn ' t present .
