mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-27 02:55:50 +01:00
Huawei: Fixed calendar event deletion when birthday sync is enabled.
This commit is contained in:
parent
3c40f3a9d7
commit
2ee17bd52f
@ -178,7 +178,7 @@ public class HuaweiP2PCalendarService extends HuaweiBaseP2PService {
|
|||||||
ret.addProperty("all_day", calendarEvent.isAllDay() ? 1 : 0);
|
ret.addProperty("all_day", calendarEvent.isAllDay() ? 1 : 0);
|
||||||
ret.addProperty("calendar_color", calendarEvent.getColor());
|
ret.addProperty("calendar_color", calendarEvent.getColor());
|
||||||
ret.addProperty("calendar_displayName", truncateToHexBytes(calendarEvent.getCalName(), 64));
|
ret.addProperty("calendar_displayName", truncateToHexBytes(calendarEvent.getCalName(), 64));
|
||||||
ret.addProperty("calendar_id", valueOrEmpty(calendarEvent.getCalendarId(), ""));
|
ret.addProperty("calendar_id", valueOrEmpty(calendarEvent.getCalendarId(), "0"));
|
||||||
ret.addProperty("description", truncateToHexBytes(calendarEvent.getDescription(), 512));
|
ret.addProperty("description", truncateToHexBytes(calendarEvent.getDescription(), 512));
|
||||||
ret.addProperty("dtend", calendarEvent.getEnd());
|
ret.addProperty("dtend", calendarEvent.getEnd());
|
||||||
ret.addProperty("dtstart", calendarEvent.getBegin());
|
ret.addProperty("dtstart", calendarEvent.getBegin());
|
||||||
|
@ -224,7 +224,7 @@ public class CalendarManager {
|
|||||||
0,
|
0,
|
||||||
true,
|
true,
|
||||||
null,
|
null,
|
||||||
null,
|
CalendarContract.ACCOUNT_TYPE_LOCAL,
|
||||||
null,
|
null,
|
||||||
null
|
null
|
||||||
));
|
));
|
||||||
|
Loading…
Reference in New Issue
Block a user