mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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.setGroup(groupKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
builder.setOnlyAlertOnce(true);
|
||||||
return builder;
|
return builder;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue