My application provides a custom account type, which can be created via
Preferences->Accounts->Add account
Everything works as expected. However, when I change to a non-primary user, my custom user account is not on the list, so I cannot create one.
Any suggestions?
P.S.: Tested on Android 7.1.2 (Google Pixel)
Don't know how, but the problem has gone...