mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-25 08:05:55 +01:00
Xiaomi: When sending contacts, use correct command to replace the ones already on the watch
This commit is contained in:
parent
81e24e53ed
commit
1b2a9ac140
@ -42,7 +42,8 @@ public class XiaomiPhonebookService extends AbstractXiaomiService {
|
||||
|
||||
private static final int CMD_GET_CONTACT = 2;
|
||||
private static final int CMD_GET_CONTACT_RESPONSE = 3;
|
||||
private static final int CMD_SET_CONTACT_LIST = 5;
|
||||
private static final int CMD_ADD_CONTACT_LIST = 5;
|
||||
private static final int CMD_SET_CONTACT_LIST = 7;
|
||||
|
||||
public XiaomiPhonebookService(final XiaomiSupport support) {
|
||||
super(support);
|
||||
|
@ -884,7 +884,6 @@ message ContactInfo {
|
||||
|
||||
message ContactList {
|
||||
repeated ContactInfo contactInfo = 1;
|
||||
optional string phoneNumber = 2;
|
||||
}
|
||||
|
||||
message Phonebook {
|
||||
|
Loading…
Reference in New Issue
Block a user