summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/preferredsim/impl
Commit message (Collapse)AuthorAgeFilesLines
* Update translation strings.Eric Erfanian2018-07-1082-0/+574
| | | | | Test: make Change-Id: Ib75f4f25e91067311de244d7f1fb95bc898aec22
* Inlined ConfigProviderBindings.get() and removed ConfigProviderBindings.zachh2018-06-011-2/+4
| | | | | | | | | It no longer provides any value, so just use dagger directly. Bug: 80441695 Test: tap PiperOrigin-RevId: 198806461 Change-Id: Id607abb65b77633bce511ad0c943ac19453a85d5
* Refactor PreferredAccountWorker to provide the dialog to be shown.twyen2018-04-303-2/+470
| | | | | | | | | | When dual SIM selection support is added to In Call UI it was a rush order and codes are duplicated. This CL moves the duplicated logic into PreferredAccountWorker so the same dialog can be shown for both. TEST=manual Bug: 69675796,72618783 Test: manual PiperOrigin-RevId: 194845320 Change-Id: Id283ca7616580b0efd4e8f02e63691c70ee7f93c
* Sanitize inputs for PreferredSimFallbackProvider.query()twyen2018-03-131-10/+23
| | | | | | | | | SQLiteQueryBuilder.query() is used in strict mode with a projection map. Bug: 74601176 Test: Unit tests PiperOrigin-RevId: 188907943 Change-Id: I2f34e185ad175695d941697cd0dbdc8ad6172321
* Allow preferred SIM to be fully clearedtwyen2018-01-111-0/+10
| | | | | | | Bug: 70503524 Test: Unit tests. PiperOrigin-RevId: 181627615 Change-Id: I9e48dd3acc339509ff3805ea38cc6399858ade1d
* Notify content URI when preferred SIM is updatedtwyen2017-11-181-0/+1
| | | | | | Test: PreferredSimFallBackProviderTest PiperOrigin-RevId: 175769540 Change-Id: Ie4e33f32ae9e99da92baa9906a3576df31b1b0a3
* Implement PreferredSimFallbackProvidertwyen2017-11-113-0/+242
The PhoneAccountHandle is keyed with the DATA_ID of a Phone row in the Contacts provider. Bug: 64213352 Test: PreferredSimFallbackProviderTest PiperOrigin-RevId: 175354818 Change-Id: I828ff9d5a1e03e18b05256bcf8a61170be8ce7bc