Notification hide after tap

This commit is contained in:
Oizaro 2020-09-07 20:42:24 +02:00
parent 21c2f51ea6
commit 6ffe5aced4

View File

@ -90,6 +90,7 @@ public class ForegroundServiceContext extends ContextWrapper {
.setContentTitle(context.getResources().getString(R.string.notification_service_title))
.setContentText(context.getResources().getString(R.string.notification_service_content))
.setSmallIcon(R.drawable.ic_foreground_notification)
.setAutoCancel(true)
.build();
}
}