diff --git a/src/android/ForegroundService.java b/src/android/ForegroundService.java index 806c9568..d2e4975d 100644 --- a/src/android/ForegroundService.java +++ b/src/android/ForegroundService.java @@ -286,7 +286,11 @@ private int getIconResId (String icon, String type) if (resId == 0) { resId = res.getIdentifier("icon", type, pkgName); } - + + if (resId == 0) { + resId = res.getIdentifier("ic_launcher", type, pkgName); + } + return resId; }