Set finished notification sound to null - 2.4 🚀

Closes #195
This commit is contained in:
Brandon Presley 2023-11-16 16:20:46 +13:00
parent cc6b37e16a
commit 2f24104d13
3 changed files with 4 additions and 3 deletions

View File

@ -85,8 +85,8 @@ android {
applicationId "com.massive"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 36218
versionName "2.3"
versionCode 36219
versionName "2.4"
}
signingConfigs {
release {

View File

@ -35,6 +35,7 @@ class AlarmService : Service(), OnPreparedListener {
PendingIntent.getBroadcast(context, 0, stopBroadcast, PendingIntent.FLAG_IMMUTABLE)
return NotificationCompat.Builder(context, AlarmModule.CHANNEL_ID_PENDING)
.setSmallIcon(R.drawable.ic_baseline_hourglass_bottom_24).setContentTitle("Resting")
.setSound(null)
.setContentIntent(pendingContent)
.addAction(R.drawable.ic_baseline_stop_24, "Stop", pendingStop)
.addAction(R.drawable.ic_baseline_stop_24, "Add 1 min", pendingAdd)

View File

@ -1,6 +1,6 @@
{
"name": "massive",
"version": "2.3",
"version": "2.4",
"private": true,
"license": "GPL-3.0-only",
"scripts": {