enforcePhoneAccounts should unregister unresolvable accts
Accounts that cannot be resolved anymore should be unregistered to avoid
keeping the unusable account in memory.
Flag: com.android.server.telecom.flags.unregister_unresolvable_accounts
Fixes: 281061708
Test: e2e tests + unit tests + manual:
(1) flash apk that registers accts on diff CS's
(2) register MAX accts and disable CS
(3) app should repeat step 2 mutliple times
observe/expect: accts unregistered after disabling CS and
registering another acct
Change-Id: I57ddbef96cb56cd5e2349825123fe099ce0df106
4 files changed