无法在 android 6.0 上使用 android.contacts.SORT_ORDER

Cannot use android.contacts.SORT_ORDER on android 6.0

我正在尝试获取联系人排序首选项,但是在 android 6.0 上,我在使用 "android.contacts.SORT_ORDER".

时遇到异常 SettingsNotFoundException

是否有用于获取联系人排序首选项的特定值?

现在这是 known issue

此 "android.contacts.SORT_ORDER" 自 API 21 日起已被删除。

Is there a specific value to use to get the contacts sort preferences?

所以,不行,现在没有这个值,需要我们自己保存。