Use new Signal logo for more notifications.

This commit is contained in:
Cody Henthorne
2021-03-17 12:46:12 -04:00
committed by Greyson Parrelli
parent 5d96bc2d3a
commit 1f9afb6c6e
27 changed files with 3 additions and 3 deletions

View File

@@ -126,8 +126,8 @@ public final class GenericForegroundService extends Service {
* <p>
* The delayed notification controller can also shown on demand and promoted to a regular notification controller to update the message etc.
*/
public static DelayedNotificationController startForegroundTaskDelayed(@NonNull Context context, @NonNull String task, long delayMillis) {
return DelayedNotificationController.create(delayMillis, () -> startForegroundTask(context, task));
public static DelayedNotificationController startForegroundTaskDelayed(@NonNull Context context, @NonNull String task, long delayMillis, @DrawableRes int iconRes) {
return DelayedNotificationController.create(delayMillis, () -> startForegroundTask(context, task, DEFAULTS.channelId, iconRes));
}
public static NotificationController startForegroundTask(@NonNull Context context, @NonNull String task) {