mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 01:36:55 +00:00
Auto event: fixed null bind
This commit is contained in:
parent
f1b6d6a80f
commit
3958f1ef95
1 changed files with 3 additions and 1 deletions
|
@ -81,7 +81,9 @@ public class CalendarHelper {
|
|||
" OR " + CalendarContract.Calendars.CALENDAR_DISPLAY_NAME + " = ?)"
|
||||
: CalendarContract.Calendars.CALENDAR_DISPLAY_NAME + " = ?") +
|
||||
" AND " + CalendarContract.Events.UID_2445 + " = ?",
|
||||
new String[]{selectedAccount, selectedName, uid},
|
||||
selectedName == null
|
||||
? new String[]{selectedAccount, selectedAccount, uid}
|
||||
: new String[]{selectedAccount, selectedName, uid},
|
||||
null)) {
|
||||
if (cursor.moveToNext())
|
||||
return cursor.getLong(0);
|
||||
|
|
Loading…
Reference in a new issue