mirror of
https://github.com/androidx/media.git
synced 2025-05-03 21:57:46 +08:00

`fromBundle` doesn't distinguish between `FIELD_BITMAP` and `FIELD_TEXT` being present with a null value, or being absent, so we might as well avoid including them when the value is null. I've separated this from a later change to add `Cue.toSerializableBundle` which will also skip setting a bitmap value into the `Bundle` if `this.bitmap == null`. This is partly because it results in changes to a lot of extractor test dump files, and it's easier to review that as a separate change. PiperOrigin-RevId: 586626141 (cherry picked from commit 28c210686f54d52610fe2f9560ad1dfa73753ccd)