private void setResultAndFinish(final String type) { Bundle bundle = new Bundle(); bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, type); setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); VLog.v(TAG, "ChooseAccountTypeActivity.setResultAndFinish: " + "selected account type " + type); finish(); }
Bundle bundle = new Bundle(); bundle.putString(AccountManager.KEY_ERROR_MESSAGE, "no allowable account types"); setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); finish(); return;
Bundle bundle = new Bundle(); bundle.putString(AccountManager.KEY_ERROR_MESSAGE, "no allowable account types"); setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); finish(); return;
private void setResultAndFinish(final String type) { Bundle bundle = new Bundle(); bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, type); setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); VLog.v(TAG, "ChooseAccountTypeActivity.setResultAndFinish: " + "selected account type " + type); finish(); }
Bundle bundle = new Bundle(); bundle.putString(AccountManager.KEY_ERROR_MESSAGE, "no allowable account types"); setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); finish(); return;
private void setResultAndFinish(final String type) { Bundle bundle = new Bundle(); bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, type); setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); VLog.v(TAG, "ChooseAccountTypeActivity.setResultAndFinish: " + "selected account type " + type); finish(); }