diff --git a/app/src/main/java/com/example/cosmosclient/services/CosmosBackgroundService.java b/app/src/main/java/com/example/cosmosclient/services/CosmosBackgroundService.java index 4b9068d..8fc85c4 100644 --- a/app/src/main/java/com/example/cosmosclient/services/CosmosBackgroundService.java +++ b/app/src/main/java/com/example/cosmosclient/services/CosmosBackgroundService.java @@ -291,10 +291,10 @@ int randamCode = (int)(Math.random()*100000); PendingIntent pendingIntent = PendingIntent.getBroadcast(cosmosBackgroundService, randamCode, intent, PendingIntent.FLAG_UPDATE_CURRENT); - android.app.Notification.Action action = new android.app.Notification.Action(R.drawable.notification_icon, "ボタンだよ", pendingIntent); + android.app.Notification.Action action = new android.app.Notification.Action(R.drawable.notification_icon, "買えたよボタン", pendingIntent); android.app.Notification notification = new android.app.Notification.Builder(cosmosBackgroundService) - .setContentTitle(notify.getRequest().getProduct()) - .setContentText("通知ないよう") + .setContentTitle("グループ名:" + notify.getGroup().getName()) + .setContentText("商品名:" + notify.getRequest().getProduct()) .setSmallIcon(R.drawable.icon_no) .setChannelId("cosmos") // .setGroup("")