Fix bug in Timeline.getRemovedAdGroupCount()

#minor-release

PiperOrigin-RevId: 389174519
This commit is contained in:
christosts 2021-08-06 15:50:06 +01:00 committed by Christos Tsilopoulos
parent 225081721d
commit d698e96a57

View File

@ -710,7 +710,7 @@ public abstract class Timeline implements Bundleable {
* 0} (inclusive) and {@code removedAdGroupCount} (exclusive) will be empty. * 0} (inclusive) and {@code removedAdGroupCount} (exclusive) will be empty.
*/ */
public int getRemovedAdGroupCount() { public int getRemovedAdGroupCount() {
return adPlaybackState.adGroupCount; return adPlaybackState.removedAdGroupCount;
} }
/** /**