summaryrefslogtreecommitdiffstats
path: root/java/com/android/dialer/preferredsim
Commit message (Collapse)AuthorAgeFilesLines
* Fix NPE when querying preferred without an accounttwyen2018-02-061-0/+2
| | | | | | | Bug: 72986691 Test: Unit tests PiperOrigin-RevId: 184743227 Change-Id: I2e37c2916ce05a72324f68c4530b7f6f3daf23eb
* Add suggestion reason ACCOUNTtwyen2018-02-011-0/+2
| | | | | | | Bug: 72817785 Test: Unit tests PiperOrigin-RevId: 184178722 Change-Id: I7154058ab7ac1a94adc781a1aa9a49a3f13c1599
* Update preferred SIM SuggestionProvidertwyen2018-01-253-4/+124
| | | | | | | | | | "remember this SIM" checkbox state is reported to the provider. The other SIM is reported to the provider when "change SIM" is used Bug: 70503524 Test: Unit tests PiperOrigin-RevId: 183308581 Change-Id: I3d097d14a503c759f130044c9a9c48c420eee19d
* Allow preferred SIM to be fully clearedtwyen2018-01-112-3/+15
| | | | | | | Bug: 70503524 Test: Unit tests. PiperOrigin-RevId: 181627615 Change-Id: I9e48dd3acc339509ff3805ea38cc6399858ade1d
* Allow SimSuggestionProvider to auto select phone account.twyen2018-01-092-2/+16
| | | | | | | Bug: 70503524 Test: Unit tests. PiperOrigin-RevId: 181400523 Change-Id: I07f2f2cd7c1402d1acb6bfbde9db8d90c888edf6
* Implement suggested SIMtwyen2017-11-184-0/+175
| | | | | | | | | This CL adds a module that can query providers to aid users choosing which SIM to call with. Bug: 64214592 Test: MotoSuggestionProviderTest PiperOrigin-RevId: 176129303 Change-Id: Idb6314ad7f5a1bcd20b5b9173d3bfd873383cc84
* Notify content URI when preferred SIM is updatedtwyen2017-11-181-0/+1
| | | | | | Test: PreferredSimFallBackProviderTest PiperOrigin-RevId: 175769540 Change-Id: Ie4e33f32ae9e99da92baa9906a3576df31b1b0a3
* Implement PreferredSimFallbackProvidertwyen2017-11-114-0/+314
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