mirror of
https://github.com/androidx/media.git
synced 2025-05-11 09:39:52 +08:00
Remove unnecessary cloning.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125454697
This commit is contained in:
parent
6376f3a898
commit
0139f3f276
@ -57,7 +57,7 @@ public final class TrackSelection {
|
||||
* @return The index of the selected track.
|
||||
*/
|
||||
public int getTrack(int index) {
|
||||
return getTracks()[index];
|
||||
return tracks[index];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user