TestServiceの全体的なリファクタリング #28

Merged
asura146 merged 73 commits from improve/refactor_service into main 2024-07-12 02:17:26 +00:00
Showing only changes of commit 02f2c36735 - Show all commits

View File

@ -226,7 +226,6 @@ public class TestService extends Service {
.setPriority(NotificationCompat.PRIORITY_HIGH) // プライオリティを高く設定
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC); // ロック画面に表示する
// 通知チャンネルの作成
NotificationManager notificationManager = context.getSystemService(NotificationManager.class);
notificationManager.notify(R.string.app_name, builder.build());//通知の表示