diff --git a/app/src/main/java/org/yaaic/irc/IRCService.java b/app/src/main/java/org/yaaic/irc/IRCService.java index 470cb43..9b436dc 100644 --- a/app/src/main/java/org/yaaic/irc/IRCService.java +++ b/app/src/main/java/org/yaaic/irc/IRCService.java @@ -191,7 +191,7 @@ public class IRCService extends Service foreground = true; // Set the icon, scrolling text and timestamp - notification = new Notification(R.mipmap.ic_launcher, getText(R.string.notification_running), System.currentTimeMillis()); + notification = new Notification(R.drawable.ic_notification, getText(R.string.notification_running), System.currentTimeMillis()); // The PendingIntent to launch our activity if the user selects this notification Intent notifyIntent = new Intent(this, MainActivity.class); @@ -221,7 +221,7 @@ public class IRCService extends Service private void updateNotification(String text, String contentText, boolean vibrate, boolean sound, boolean light) { if (foreground) { - notification = new Notification(R.mipmap.ic_launcher, text, System.currentTimeMillis()); + notification = new Notification(R.drawable.ic_notification, text, System.currentTimeMillis()); Intent notifyIntent = new Intent(this, MainActivity.class); notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); PendingIntent contentIntent = PendingIntent.getActivity(this, 0, notifyIntent, 0); diff --git a/app/src/main/res/drawable-hdpi/ic_notification.png b/app/src/main/res/drawable-hdpi/ic_notification.png new file mode 100755 index 0000000..d9ce7cd Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_notification.png differ diff --git a/app/src/main/res/drawable-mdpi/ic_notification.png b/app/src/main/res/drawable-mdpi/ic_notification.png new file mode 100755 index 0000000..780c7bf Binary files /dev/null and b/app/src/main/res/drawable-mdpi/ic_notification.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_notification.png b/app/src/main/res/drawable-xhdpi/ic_notification.png new file mode 100755 index 0000000..a1c8338 Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_notification.png differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_notification.png b/app/src/main/res/drawable-xxhdpi/ic_notification.png new file mode 100755 index 0000000..fa7c095 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/ic_notification.png differ