From 094f4a8436eae7c0ac33b528eebd84c862e47c5e Mon Sep 17 00:00:00 2001 From: aquilescanta Date: Tue, 11 May 2021 17:45:59 +0100 Subject: [PATCH] Add notice about backwards compatibility in PlaybackException PiperOrigin-RevId: 373172693 --- .../java/com/google/android/exoplayer2/PlaybackException.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/common/src/main/java/com/google/android/exoplayer2/PlaybackException.java b/library/common/src/main/java/com/google/android/exoplayer2/PlaybackException.java index 842aa8f46e..8367f77f7c 100644 --- a/library/common/src/main/java/com/google/android/exoplayer2/PlaybackException.java +++ b/library/common/src/main/java/com/google/android/exoplayer2/PlaybackException.java @@ -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)}. + * + *

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)