diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/services/GameService.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/services/GameService.java index a6d492a30..8782113b8 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/services/GameService.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/services/GameService.java @@ -49,7 +49,7 @@ public class GameService extends Service { .setContentText(getString(R.string.notification_game_runs)) .setContentIntent(contentIntent) .addAction(android.R.drawable.ic_menu_close_clear_cancel, getString(R.string.notification_terminate), pendingKillIntent) - .setSmallIcon(R.mipmap.ic_launcher_foreground) + .setSmallIcon(R.drawable.notif_icon) .setNotificationSilent(); Notification notification = notificationBuilder.build(); diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/services/ProgressService.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/services/ProgressService.java index f8467078f..4678c3fb1 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/services/ProgressService.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/services/ProgressService.java @@ -50,7 +50,7 @@ public class ProgressService extends Service implements TaskCountListener { mNotificationBuilder = new NotificationCompat.Builder(this, "channel_id") .setContentTitle(getString(R.string.lazy_service_default_title)) .addAction(android.R.drawable.ic_menu_close_clear_cancel, getString(R.string.notification_terminate), pendingKillIntent) - .setSmallIcon(R.mipmap.ic_launcher_foreground) + .setSmallIcon(R.drawable.notif_icon) .setNotificationSilent(); } diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/NotificationUtils.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/NotificationUtils.java index a2ce922ee..9fa2c8f8f 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/NotificationUtils.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/NotificationUtils.java @@ -34,7 +34,7 @@ public class NotificationUtils { if(contentTitle != -1) notificationBuilder.setContentTitle(context.getString(contentTitle)); if(contentText != -1) notificationBuilder.setContentText(context.getString(contentText)); if(actionIntent != null) notificationBuilder.setContentIntent(pendingIntent); - notificationBuilder.setSmallIcon(R.mipmap.ic_launcher_foreground); + notificationBuilder.setSmallIcon(R.drawable.notif_icon); notificationManager.notify(notificationId, notificationBuilder.build()); } diff --git a/app_pojavlauncher/src/main/res/drawable/notif_icon.png b/app_pojavlauncher/src/main/res/drawable/notif_icon.png new file mode 100644 index 000000000..8e71bd6a1 Binary files /dev/null and b/app_pojavlauncher/src/main/res/drawable/notif_icon.png differ diff --git a/app_pojavlauncher/src/main/res/drawable/notif_icon.xml b/app_pojavlauncher/src/main/res/drawable/notif_icon.xml deleted file mode 100644 index ea1f3bef7..000000000 --- a/app_pojavlauncher/src/main/res/drawable/notif_icon.xml +++ /dev/null @@ -1,10 +0,0 @@ - - -