diff options
author | twyen <twyen@google.com> | 2018-01-03 11:11:14 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-03 11:12:11 -0800 |
commit | b3b437048465ab8da902fb9107c883331481da2c (patch) | |
tree | ab8bb36e5cf7545e74a7d33161f621299a672831 /java/com/android/dialer/calllog/CallLogFramework.java | |
parent | 15fd7535818344e905745b390a1b4098ca4d2cf1 (diff) |
Only consider writable accounts for preferred SIM
Some apps will add their own account to contacts and cause PhoneLookup to return multiple accounts. Since Contacts cannot write to these accounts the preferred SIM settings on them does not make sense.
In this CL a reduced version of AccountTypeManager is used to determine if the account is writable. External accounts (which capabilities are determined by parsing their sync adapter) are not supported.
Bug: 70689051
Test: CallingAccountSelectorTest
PiperOrigin-RevId: 180693656
Change-Id: I24e93860cd576777c6d3861f65f75baa234dac87
Diffstat (limited to 'java/com/android/dialer/calllog/CallLogFramework.java')
0 files changed, 0 insertions, 0 deletions