Change channel name

pull/32/head
sh123 2022-07-05 09:43:37 +03:00
rodzic d988393c28
commit ceb2b61e1b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -137,7 +137,7 @@ public class AppService extends Service {
@RequiresApi(Build.VERSION_CODES.O)
private String createNotificationChannel(NotificationManager notificationManager){
String channelId = "alpha";
String channelName = "codec2talkie";
String channelName = "Service";
NotificationChannel channel = new NotificationChannel(channelId, channelName, NotificationManager.IMPORTANCE_HIGH);
channel.setImportance(NotificationManager.IMPORTANCE_NONE);
channel.setLockscreenVisibility(Notification.VISIBILITY_PUBLIC);