create Account
fun createAccount(context: Context, account: Account, userData: Map<String, String>, password: SensitiveString? = null): Boolean
Creates a system account and makes sure the user data are set correctly.
Return
whether the account has been created
Parameters
context
operating context
account
account to create
user Data
user data to set
password
password to set