[GH-ISSUE #426] ServiceControl.SchedulerInstance.INSTANCE seems unnecessary #301

Open
opened 2026-02-28 01:24:03 +03:00 by kerem · 1 comment
Owner

Originally created by @alxndrsn on GitHub (Apr 8, 2016).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/426

ServiceControl.SchedulerInstance seems to be used solely to create a private interface to the public constructor of Schedule.

Originally created by @alxndrsn on GitHub (Apr 8, 2016). Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/426 [`ServiceControl.SchedulerInstance`](https://github.com/ushahidi/SMSSync/blob/master/smssync/src/main/java/org/addhen/smssync/presentation/service/ServiceControl.java#L210) seems to be used solely to create a private interface to the [public constructor of `Schedule`](https://github.com/ushahidi/SMSSync/blob/master/smssync/src/main/java/org/addhen/smssync/presentation/service/Scheduler.java#L48).
Author
Owner

@alxndrsn commented on GitHub (Apr 8, 2016):

getScheduler() adds an extra arg: PendingIntent.FLAG_UPDATE_CURRENT

<!-- gh-comment-id:207441623 --> @alxndrsn commented on GitHub (Apr 8, 2016): `getScheduler()` adds an extra arg: `PendingIntent.FLAG_UPDATE_CURRENT`
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/SMSSync#301
No description provided.