summaryrefslogtreecommitdiff
path: root/java/com/android/contacts/common/widget/SelectPhoneAccountDialogOptionsUtil.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix selecting phone account dialog show error.Grace Jia2020-09-171-1/+23
| | | | | | | | | | | | | | AOSP dialer used to ignore UserHandle of a PhoneAccountHandle when building the selection list. When secondary user or guest mode is in use, dialer composed a wrong PhoneAccountHandle with current UserHandle so Telecom cannot provide correct information of this PhoneAccountHandle. Bug: 157499347 Test: Manually switch to guest mode or secondary user to check if the dialog show correctly. Change-Id: I8a9f9bcf5192f69ca270def48fb850106aa717fb
* Add "enabled" to SelectPhoneAccountDialogFragment.twyen2018-04-251-0/+55
This is used to inform the user an account cannot be used right now. On most dual SIM devices, only a single SIM can make calls at the same time. The UI will be implemented in a followup CL. This CL also packs the parameters of SelectPhoneAccountDialogFragment into a proto. There are too many arguments and it needs structured representation. TEST=TAP Bug: 69675796,72618783 Test: TAP PiperOrigin-RevId: 194139636 Change-Id: I7d9f92c73b650654fff28ba625a2c8e3dfa0b96c