Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f74ad0e9 authored by Sayantan Roychowdhury's avatar Sayantan Roychowdhury
Browse files

Merge branch '5348-update_install_notification_icon' into 'main'

Issue: 5348 - update install notification icon

See merge request !116
parents 7f800fa7 7f469d8c
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ class NotificationManagerUtils @Inject constructor(

    fun showDownloadNotification(title: String): NotificationCompat.Builder {
        return NotificationCompat.Builder(context, NotificationManagerModule.DOWNLOADS)
            .setSmallIcon(R.drawable.ic_launcher_foreground)
            .setSmallIcon(R.drawable.app_lounge_notification_icon)
            .setContentTitle(title)
            .setProgress(0, 0, true)
            .setPriority(NotificationCompat.PRIORITY_DEFAULT)
@@ -45,7 +45,7 @@ class NotificationManagerUtils @Inject constructor(
            context.getString(R.string.manual_updates_notification)
        }
        return NotificationCompat.Builder(context, NotificationManagerModule.UPDATES)
            .setSmallIcon(R.drawable.ic_launcher_foreground)
            .setSmallIcon(R.drawable.app_lounge_notification_icon)
            .setContentTitle(
                context.resources.getQuantityString(
                    R.plurals.updates_notification_title,
+1 −1
Original line number Diff line number Diff line
@@ -202,7 +202,7 @@ class InstallAppWorker @AssistedInject constructor(
            .setContentTitle(title)
            .setTicker(title)
            .setContentText(progress)
            .setSmallIcon(R.drawable.ic_launcher_foreground)
            .setSmallIcon(R.drawable.app_lounge_notification_icon)
            .setOngoing(true)
            // Add the cancel action to the notification which can
            // be used to cancel the worker
+421 B
Loading image diff...
+348 B
Loading image diff...
+552 B
Loading image diff...
Loading