[Android] Policy to define allowed types of account in a device
Similar to https://gitlab.com/entgra/product-iots/-/issues/796
Create a policy where the types of accounts that can be added to a device can be define together with the number of accounts per type.
For example only 1 Google account can exist. Use API to monitor new account and remove using new API from 796 to remove any violating accounts. This might clash with restrictions policy where account add block. Policy is only used when this tick is not checked and the user is allowed to and some accounts
- Account type
- Max allowed limit
- Allowed domain - Account name