Added local contact name edit

This commit is contained in:
M66B
2020-10-02 22:13:00 +02:00
parent 0d93e0f86c
commit 4e5737982f
5 changed files with 102 additions and 2 deletions

View File

@@ -81,6 +81,9 @@ public interface DaoContact {
" AND email = :email")
int deleteContact(long account, int type, String email);
@Query("UPDATE contact SET name = :name WHERE id = :id")
int setContactName(long id, String name);
@Query("UPDATE contact SET state = :state WHERE id = :id")
int setContactState(long id, int state);