Code example for AccountAuthenticatorResponse

Methods: onResult

0
     */ 
    public void finish() { 
        if (mAccountAuthenticatorResponse != null) {
            // send the result bundle back if set, otherwise send an error. 
            if (mResultBundle != null) {
                mAccountAuthenticatorResponse.onResult(mResultBundle);
            } else { 
                mAccountAuthenticatorResponse.onError(AccountManager.ERROR_CODE_CANCELED,
                        "canceled"); 
            } 
            mAccountAuthenticatorResponse = null;
        } 
        super.finish(); 
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE