Allow DO/PO to be installed with certain preconfigured accounts.
- Non-test-only DO/PO still can't be installed when there are accounts. - Test-only DO/PO can be installed even when there are accounts, as long as all the accounts have the "android.account.DEVICE_OR_PROFILE_OWNER_ALLOWED" feature. Some authenticators claim to have any features, so to detect it, we also check android.account.DEVICE_OR_PROFILE_OWNER_DISALLOWED and disallow installing if any of the accounts have it. - Also add logs on certain important events in DPMS. Bug 28928996 Change-Id: I62efce10e9cc22e994ea8cae91a4fafcce25dd77
Loading
Please register or sign in to comment