Skip to content

Commit d3ed67b

Browse files
Remove failure handling for the enqueueing since expedited has been removed
1 parent 3f28552 commit d3ed67b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

iterableapi/src/main/java/com/iterable/iterableapi/IterableNotificationWorkScheduler.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ class IterableNotificationWorkScheduler {
2121

2222
interface SchedulerCallback {
2323
void onScheduleSuccess(UUID workId);
24-
void onScheduleFailure(Exception exception, Bundle notificationData);
2524
}
2625

2726
IterableNotificationWorkScheduler(@NonNull Context context) {
@@ -59,10 +58,6 @@ void scheduleNotificationWork(
5958

6059
} catch (Exception e) {
6160
IterableLogger.e(TAG, "Failed to schedule notification work", e);
62-
63-
if (callback != null) {
64-
callback.onScheduleFailure(e, notificationData);
65-
}
6661
}
6762
}
6863

0 commit comments

Comments
 (0)