Commit 7da48338 by zhangchengbo

fix:解决通讯录展示名称颠倒问题(姓与名)

parent 66ddf21e
......@@ -63,7 +63,7 @@ class MainActivity : SimpleActivity() {
setContentView(binding.root)
setupOptionsMenu()
refreshMenuItems()
initConfig()
// contentResolver.registerContentObserver(Uri.parse("content://sms"), true, SmsSendObserver(this, Handler()))
updateMaterialActivityViews(
......@@ -94,6 +94,13 @@ class MainActivity : SimpleActivity() {
}
}
/**
* 初始化配置项
*/
private fun initConfig() {
config.startNameWithSurname = true//姓氏在前
}
private fun isNotificationAccessEnabled(): Boolean {
val enabledListeners: String = Settings.Secure.getString(
contentResolver,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment