media/libraries/session/src
bachinger d1b882ae56 Don't set negative values to setWhen()
When the 'when' timer of the notification is disabled
`DefaultMediaNotificationProvider` may set `C.TIME_UNSET`
as the time. Users reported problems on some devices with
this and the docs ask for an event time that probably
shouldn't be a negative number.

This change sets `0L` instead of `C.TIME_UNSET` when the
timer is disabled.

Issue: androidx/media#903

#minor-release

PiperOrigin-RevId: 594451074
(cherry picked from commit 426bc94090)
2024-01-09 12:17:48 +00:00
..
main Don't set negative values to setWhen() 2024-01-09 12:17:48 +00:00
test Rollback of 64bd3bcad3 2023-10-19 01:03:49 -07:00