Compare commits
No commits in common. "main" and "v1.26.0" have entirely different histories.
2 changed files with 0 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -57,4 +57,3 @@ proguard-project.txt
|
|||
# Android Studio/IDEA
|
||||
*.iml
|
||||
.idea
|
||||
centralcloud-release.keystore
|
||||
|
|
|
|||
|
|
@ -380,9 +380,7 @@ class NotificationService(val context: Context) {
|
|||
PRIORITY_LOW -> NotificationChannel(channelId, context.getString(R.string.common_priority_low_name), NotificationManager.IMPORTANCE_LOW)
|
||||
PRIORITY_HIGH -> {
|
||||
val channel = NotificationChannel(channelId, context.getString(R.string.common_priority_high_name), NotificationManager.IMPORTANCE_HIGH)
|
||||
channel.enableLights(true)
|
||||
channel.enableVibration(true)
|
||||
channel.setBypassDnd(true) // Bypass DND but do not play insistent alarm
|
||||
channel.vibrationPattern = longArrayOf(
|
||||
pause, 100, pause, 100, pause, 100,
|
||||
pause, 2000
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue