mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

Currently both are updated by separate setters. If an exception is thrown between the two setters, the state may not be consistent. Avoid this problem by always setting them together. PiperOrigin-RevId: 290293600