mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08: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
@ -1389,6 +1389,7 @@ public class PlayerNotificationManager {
|
||||
builder.setGroup(groupKey);
|
||||
}
|
||||
|
||||
builder.setOnlyAlertOnce(true);
|
||||
return builder;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user