mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Changed Nnotification level for Android8+
Enable heads-up notification and fix notification delay on android 9
This commit is contained in:
@@ -158,7 +158,7 @@ abstract class AbstractNotificationBuilder extends NotificationCompat.Builder {
|
||||
// we cannot change the settings, however, this is handled by using different values for chId
|
||||
if(!channelExists) {
|
||||
NotificationChannel channel = new NotificationChannel(chId,
|
||||
"New messages", NotificationManager.IMPORTANCE_DEFAULT);
|
||||
"New messages", NotificationManager.IMPORTANCE_HIGH);
|
||||
channel.setDescription("Informs about new messages.");
|
||||
|
||||
if (!ledColor.equals("none")) {
|
||||
|
||||
Reference in New Issue
Block a user