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 8fb1e5ce51
commit bf462aca69

View file

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