mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
The sound, vibrate and ticker will only be played once
Android doc:https://developer.android.com/reference/android/app/Notification.Builder#setOnlyAlertOnce(boolean) PiperOrigin-RevId: 384227580
This commit is contained in:
parent
d587420650
commit
c7d34d768d
1 changed files with 1 additions and 0 deletions
|
|
@ -1389,6 +1389,7 @@ public class PlayerNotificationManager {
|
|||
builder.setGroup(groupKey);
|
||||
}
|
||||
|
||||
builder.setOnlyAlertOnce(true);
|
||||
return builder;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue