kopia lustrzana https://github.com/ryukoposting/Signal-Android
Add sorting by default phone number
Currently the order of numbers is times contacted -> displayName -> phone type (mobile vs. home, etc.). This adds whether the number has been saved as the default number for a contact to sort numbers belonging to the same contact. Fixes #580fork-5.53.8
rodzic
12d217991c
commit
468eb3382c
|
@ -412,7 +412,9 @@ public class ContactAccessor {
|
|||
ContentResolver mContentResolver)
|
||||
{
|
||||
final String SORT_ORDER = Contacts.TIMES_CONTACTED + " DESC," +
|
||||
Contacts.DISPLAY_NAME + "," + Phone.TYPE;
|
||||
Contacts.DISPLAY_NAME + "," +
|
||||
Contacts.Data.IS_SUPER_PRIMARY + " DESC," +
|
||||
Phone.TYPE;
|
||||
|
||||
final String[] PROJECTION_PHONE = {
|
||||
Phone._ID, // 0
|
||||
|
|
Ładowanie…
Reference in New Issue