diff --git a/app/src/main/java/com/mridang/speedo/TrafficService.java b/app/src/main/java/com/mridang/speedo/TrafficService.java index 78f27db..c01dfce 100644 --- a/app/src/main/java/com/mridang/speedo/TrafficService.java +++ b/app/src/main/java/com/mridang/speedo/TrafficService.java @@ -337,8 +337,8 @@ public class TrafficService extends Service { try { if (lngSpeed < 1024) { - TrafficService.notBuilder.setSmallIcon(R.drawable.wkb000); - updateIcon(R.drawable.wkb000); + TrafficService.notBuilder.setSmallIcon(R.drawable.empty); + updateIcon(R.drawable.empty); } else if (lngSpeed < 1048576L) { TrafficService.notBuilder.setSmallIcon(R.drawable.wkb000 + (int) (lngSpeed / 1024L)); @@ -394,7 +394,7 @@ public class TrafficService extends Service { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { CharSequence name = getString(R.string.channel_name); String description = getString(R.string.channel_description); - int importance = NotificationManager.IMPORTANCE_DEFAULT; + int importance = NotificationManager.IMPORTANCE_LOW; NotificationChannel channel = new NotificationChannel(CHANNEL_ID, name, importance); channel.setDescription(description); // Register the channel with the system. You can't change the importance diff --git a/app/src/main/res/drawable-hdpi/empty.png b/app/src/main/res/drawable-hdpi/empty.png new file mode 100644 index 0000000..7c3ab95 Binary files /dev/null and b/app/src/main/res/drawable-hdpi/empty.png differ diff --git a/app/src/main/res/drawable-mdpi/empty.png b/app/src/main/res/drawable-mdpi/empty.png new file mode 100644 index 0000000..7c3ab95 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/empty.png differ diff --git a/app/src/main/res/drawable-xhdpi/empty.png b/app/src/main/res/drawable-xhdpi/empty.png new file mode 100644 index 0000000..7c3ab95 Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/empty.png differ diff --git a/app/src/main/res/drawable-xxhdpi/empty.png b/app/src/main/res/drawable-xxhdpi/empty.png new file mode 100644 index 0000000..7c3ab95 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/empty.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/empty.png b/app/src/main/res/drawable-xxxhdpi/empty.png new file mode 100644 index 0000000..7c3ab95 Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/empty.png differ