1

I would like to ask about renaming account from the account manager. Is there someone who knows how it works when something goes wrong (exceptions and etc)? There is nothing in android documentation about this. Will system restore the old account or leave it deleted from the account manager?

I read the android documentation and searching for an info in the medium.com and the stack.

  • Does this answer your question? [Rename an account on Android (AccountManager)](https://stackoverflow.com/questions/13072754/rename-an-account-on-android-accountmanager) – zen_of_kermit Mar 31 '22 at 05:40
  • It just bad naming of question title. Thanks for answer, but no. I wanna know what gonna happened when something goes wrong from renaming account. – Mateusz Gęślowski Mar 31 '22 at 09:09
  • I just tried using `AccountManager.renameAccount()`. Looked like it would work perfectly. It just deletes the account. NOT acceptable! I wish I could kick whomever wrote those docs in the shins. – SMBiggs Jul 21 '22 at 15:07

0 Answers0