mirror of
https://github.com/androidx/media.git
synced 2025-05-10 09:12:16 +08:00

textWidth can be negative if textLeft extends parentRight (i.e. the subtitle is positioned entirely off the screen to the RHS). We should just discard and log a warning in this case. Issue: #2497 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=148481310