commit | 6a2126477ce3f527ecaec807fe4f40cd13ff02b0 | [log] [tgz] |
---|---|---|
author | Santos Cordon <santoscordon@google.com> | Fri May 08 16:35:23 2015 -0700 |
committer | Santos Cordon <santoscordon@google.com> | Mon May 11 21:18:39 2015 +0000 |
tree | 6efa03da9ae76dd5834ab79e8012ae650755b57d | |
parent | f8cdf5ffd9f0b5d3b3d6bbd89216a9c2e6af9e88 [diff] |
Clean up PhoneAccountRegistrar. Cleanup lots of duplicate code and consolidate all phone account retrievals into a single method: getPhoneAccounts(...). Consolidate checks for capabilities, package-name, uri, and isVisibleForUser(...). This will be very helpful when implementing enable/disable for phone accounts. Bug: 20303449 Change-Id: I24d63cd313876f5d9390f2eb31c0ce79d7cb0ab2