Skip to content

Commit

Permalink
Fix ShadowMediaPlayer.setDataSource(MediaDataSource)
Browse files Browse the repository at this point in the history
object.toString() returns different DataSources

PiperOrigin-RevId: 233703163
  • Loading branch information
Googler authored and copybara-robolectric committed Feb 13, 2019
1 parent 8562fad commit c3037c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static DataSource toDataSource(FileDescriptor fd) {
}

public static DataSource toDataSource(MediaDataSource mediaDataSource) {
return toDataSource(mediaDataSource.toString());
return toDataSource("MediaDataSource");
}

@SuppressWarnings("ObjectToString")
Expand Down

0 comments on commit c3037c1

Please sign in to comment.