Fix a few more warnings

This commit is contained in:
CactiChameleon9
2024-08-31 12:34:35 +01:00
parent fa3f9b8ca5
commit c0a486383c
4 changed files with 11 additions and 4 deletions

View File

@ -115,7 +115,7 @@ public class TrafficService extends Service {
notBuilder.setPriority(Integer.MAX_VALUE);
notBuilder.setCategory(NotificationCompat.CATEGORY_SERVICE);
notBuilder.setLocalOnly(true);
setColor(settings.getInt("color", Color.TRANSPARENT));
setColor(Color.TRANSPARENT);
visibilityPublic(settings.getBoolean("lockscreen", true));
Log.d("HardwareService", "Setting up the service manager and the broadcast receiver");