Browse Source

Fixed lights default

main
M66B 6 years ago
parent
commit
9fcda3a58c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/ServiceSynchronize.java

+ 1
- 1
app/src/main/java/eu/faircode/email/ServiceSynchronize.java View File

@ -305,7 +305,7 @@ public class ServiceSynchronize extends LifecycleService {
.setDeleteIntent(pid); .setDeleteIntent(pid);
if (android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.O && if (android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.O &&
prefs.getBoolean("light", true)) {
prefs.getBoolean("light", false)) {
builder.setDefaults(Notification.DEFAULT_SOUND | Notification.DEFAULT_LIGHTS); builder.setDefaults(Notification.DEFAULT_SOUND | Notification.DEFAULT_LIGHTS);
builder.setLights(0xff00ff00, 1000, 1000); builder.setLights(0xff00ff00, 1000, 1000);
} }


Loading…
Cancel
Save