mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-30 01:21:11 +01:00
Blue as the sky
This commit is contained in:
@@ -33,6 +33,7 @@ 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;
|
||||
@@ -989,7 +990,11 @@ public class ActivitySetup extends ActivityBilling implements FragmentManager.On
|
||||
channel.setSound(uri, Notification.AUDIO_ATTRIBUTES_DEFAULT);
|
||||
}
|
||||
|
||||
channel.enableLights(jchannel.getBoolean("light"));
|
||||
boolean light = jchannel.getBoolean("light");
|
||||
channel.enableLights(light);
|
||||
if (light)
|
||||
channel.setLightColor(Color.BLUE);
|
||||
|
||||
channel.enableVibration(jchannel.getBoolean("vibrate"));
|
||||
|
||||
return channel;
|
||||
|
||||
Reference in New Issue
Block a user