Home | History | Annotate | Download | only in activities

Lines Matching refs:ACCOUNT

42  * which account the contact will be saved in. There is also an option to add an account at
44 * {@link #Intents.Insert.ACCOUNT} that contains the {@link AccountWithDataSet} to create
46 * account for this contact.
89 // which account to create a contact in.
105 // If the user has 1 writable account we will just show the user a message with 2
113 final AccountWithDataSet account = accounts.get(0);
115 account.name));
117 // This button allows the user to add a new account to the device and return to
123 // account.
128 saveAccountAndReturnResult(account);
156 // This button allows the user to add a new account to the device and return to
166 // If the user canceled the account setup process, then keep this activity visible to
172 AccountWithDataSet account = mEditorUtils.getCreatedAccount(resultCode, data);
173 if (account == null) {
178 saveAccountAndReturnResult(account);
182 private void saveAccountAndReturnResult(AccountWithDataSet account) {
183 // Save this as the default account
184 mEditorUtils.saveDefaultAndAllAccounts(account);
186 // Pass account info in activity result intent
188 intent.putExtra(Intents.Insert.ACCOUNT, account);