Add notice about backwards compatibility in PlaybackException

PiperOrigin-RevId: 373172693
This commit is contained in:
aquilescanta 2021-05-11 17:45:59 +01:00 committed by Andrew Lewis
parent d54168ae30
commit 094f4a8436

View File

@ -220,6 +220,9 @@ public class PlaybackException extends Exception implements Bundleable {
/**
* Identifiers for fields in a {@link Bundle} which represents a playback exception. Subclasses
* may use {@link #FIELD_CUSTOM_ID_BASE} to generate more keys using {@link #keyForField(int)}.
*
* <p>Note: Changes to the Bundleable implementation must be backwards compatible, so as to avoid
* breaking communication across different Bundleable implementation versions.
*/
@Documented
@Retention(RetentionPolicy.SOURCE)