mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-18 13:21:02 +00:00
Set notification channel light color
This commit is contained in:
parent
b17c13d7e4
commit
2a3684db91
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,7 @@ import android.content.Intent;
|
|||
import android.content.IntentFilter;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.res.Configuration;
|
||||
import android.graphics.Color;
|
||||
import android.os.Build;
|
||||
import android.util.Printer;
|
||||
import android.webkit.CookieManager;
|
||||
|
@ -330,6 +331,7 @@ public class ApplicationEx extends Application {
|
|||
NotificationManager.IMPORTANCE_HIGH);
|
||||
notification.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
|
||||
notification.enableLights(true);
|
||||
notification.setLightColor(Color.YELLOW);
|
||||
nm.createNotificationChannel(notification);
|
||||
|
||||
// Update
|
||||
|
|
Loading…
Reference in a new issue