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 e9b08942c4 - Show all commits

View File

@ -125,7 +125,7 @@ public class TestService extends Service {
NotificationChannel serviceChannel = new NotificationChannel(
BACKGROUND_CHANNEL_ID,
"Foreground Service Channel",
NotificationManager.IMPORTANCE_DEFAULT
NotificationManager.IMPORTANCE_NONE
);
NotificationManager manager = getSystemService(NotificationManager.class);
if (manager != null) {