From 18f90b24a10be7796930a62e79288317f7ef8e29 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 26 Jun 2019 20:35:45 +0200 Subject: [PATCH] Revert "Blue as the sky" This reverts commit 4cc1ed3a8548d182d49a7529e099d3e2b7b52818. --- app/src/main/java/eu/faircode/email/ActivitySetup.java | 7 +------ app/src/main/java/eu/faircode/email/AdapterMessage.java | 1 - app/src/main/java/eu/faircode/email/ApplicationEx.java | 2 -- app/src/main/java/eu/faircode/email/EntityAccount.java | 2 -- app/src/main/java/eu/faircode/email/TupleFolderEx.java | 2 -- 5 files changed, 1 insertion(+), 13 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ActivitySetup.java b/app/src/main/java/eu/faircode/email/ActivitySetup.java index 33cab33b65..c59ea75c8d 100644 --- a/app/src/main/java/eu/faircode/email/ActivitySetup.java +++ b/app/src/main/java/eu/faircode/email/ActivitySetup.java @@ -33,7 +33,6 @@ import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.content.res.AssetFileDescriptor; import android.content.res.Configuration; -import android.graphics.Color; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.media.Ringtone; @@ -990,11 +989,7 @@ public class ActivitySetup extends ActivityBilling implements FragmentManager.On channel.setSound(uri, Notification.AUDIO_ATTRIBUTES_DEFAULT); } - boolean light = jchannel.getBoolean("light"); - channel.enableLights(light); - if (light) - channel.setLightColor(Color.BLUE); - + channel.enableLights(jchannel.getBoolean("light")); channel.enableVibration(jchannel.getBoolean("vibrate")); return channel; diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index 5a4b4365b9..3e3b4b4944 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -1621,7 +1621,6 @@ public class AdapterMessage extends RecyclerView.Adapter