Re-generate contact name list when baresip contacts are updated
This commit is contained in:
@ -335,6 +335,7 @@ class ContactActivity : AppCompatActivity() {
|
||||
}
|
||||
|
||||
Contact.save()
|
||||
Utils.reloadContactNames()
|
||||
|
||||
BaresipService.activities.remove("contact,$newContact,$uOrI")
|
||||
val i = Intent(this, MainActivity::class.java)
|
||||
|
||||
@ -122,6 +122,7 @@ class ContactListAdapter(private val ctx: Context, private val rows: ArrayList<C
|
||||
ContactActivity.deleteAndroidContact(ctx, contact)
|
||||
Contact.contacts().removeAt(position)
|
||||
Contact.save()
|
||||
Utils.reloadContactNames()
|
||||
this.notifyDataSetChanged()
|
||||
}
|
||||
DialogInterface.BUTTON_NEGATIVE -> {
|
||||
|
||||
Reference in New Issue
Block a user