Merge branch 'master' into bugfix/165

This commit is contained in:
BarelElbaz
2023-02-20 08:45:47 +02:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
@@ -31,6 +31,7 @@ public class NotificationBuilder {
mBuilder.setCustomContentView(notificationArr[1]);
mBuilder.setCustomBigContentView(notificationArr[0]);
mBuilder.setStyle(new NotificationCompat.DecoratedCustomViewStyle()); //Make the notification extendable issue #165
mBuilder.setCategory(NotificationCompat.CATEGORY_SERVICE); //show notification on android 12 and above #144 #143
}
public Notification build (PodsStatus status) {
+2 -1
View File
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">
<string name="app_name" translatable="false">OpenPods</string>
<string name="bg_noti_channel" translatable="false">Фоновое уведомление</string>