mirror of
https://github.com/samsonjs/media.git
synced 2026-04-05 11:15:46 +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
ca28d6a041
commit
822f6282f1
1 changed files with 1 additions and 0 deletions
|
|
@ -1244,6 +1244,7 @@ public class PlayerNotificationManager {
|
|||
builder.setGroup(groupKey);
|
||||
}
|
||||
|
||||
builder.setOnlyAlertOnce(true);
|
||||
return builder;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue