[GH-ISSUE #860] Incompatible API use in your codes. #682

Closed
opened 2026-02-26 01:31:20 +03:00 by kerem · 2 comments
Owner

Originally created by @jay2013 on GitHub (Mar 30, 2018).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/860

We notice that you use API "<android.provider.CalendarContract$Calendars: android.net.Uri CONTENT_URI>" in method "<com.zegoggles.smssync.calendar.CalendarAccessorPost40: boolean enableSync(long)>" on line 35 not exist in SDK level [9, 10 , 11, 12, 13]. This may cause problems to your APP when it was run on these platforms.

please help to check it. Thanks very much.

other similar bugs:
BUG: <android.provider.CalendarContract$Calendars: android.net.Uri CONTENT_URI> called in <com.zegoggles.smssync.calendar.CalendarAccessorPost40: java.util.Map getCalendars()> on line 72 not in [9, 10 , 11, 12, 13]

BUG: <android.provider.CalendarContract$Events: android.net.Uri CONTENT_URI> called in <com.zegoggles.smssync.calendar.CalendarAccessorPost40: boolean addEntry(long,java.util.Date,int,java.lang.String,java.lang.String)> on line 58 not in [9, 10 , 11, 12, 13]

Expected behaviour

Actual behaviour

Steps to reproduce the behaviour

Please specify the following:

  • Android version level [9,10,11,12,13]
  • Phone model / brand any devices
  • SMS Backup+ version installed
  • Messaging app
Originally created by @jay2013 on GitHub (Mar 30, 2018). Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/860 We notice that you use API "<android.provider.CalendarContract$Calendars: android.net.Uri CONTENT_URI>" in method "<com.zegoggles.smssync.calendar.CalendarAccessorPost40: boolean enableSync(long)>" on line 35 not exist in SDK level [9, 10 , 11, 12, 13]. This may cause problems to your APP when it was run on these platforms. please help to check it. Thanks very much. other similar bugs: BUG: <android.provider.CalendarContract$Calendars: android.net.Uri CONTENT_URI> called in <com.zegoggles.smssync.calendar.CalendarAccessorPost40: java.util.Map getCalendars()> on line 72 not in [9, 10 , 11, 12, 13] BUG: <android.provider.CalendarContract$Events: android.net.Uri CONTENT_URI> called in <com.zegoggles.smssync.calendar.CalendarAccessorPost40: boolean addEntry(long,java.util.Date,int,java.lang.String,java.lang.String)> on line 58 not in [9, 10 , 11, 12, 13] ### Expected behaviour ### Actual behaviour ### Steps to reproduce the behaviour ### Please specify the following: * Android version level [9,10,11,12,13] * Phone model / brand any devices * SMS Backup+ version installed * Messaging app
kerem closed this issue 2026-02-26 01:31:20 +03:00
Author
Owner

@jberkel commented on GitHub (Mar 31, 2018):

That's why it's called CalendarAccessorPost40, duh.

<!-- gh-comment-id:377681528 --> @jberkel commented on GitHub (Mar 31, 2018): That's why it's called CalendarAccessor**Post40**, duh.
Author
Owner

@jay2013 commented on GitHub (Mar 31, 2018):

Sorry for disturbing you.

<!-- gh-comment-id:377682573 --> @jay2013 commented on GitHub (Mar 31, 2018): Sorry for disturbing you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sms-backup-plus-jberkel#682
No description provided.