Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c5c3f3a authored by Andreas Huber's avatar Andreas Huber Committed by Android (Google) Code Review
Browse files

Merge "Document that MediaPlayer.getDuration() returns an invalid value (-1)" into jb-mr2-dev

parents 330a9fe3 7cd281c3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1181,7 +1181,8 @@ public class MediaPlayer
    /**
     * Gets the duration of the file.
     *
     * @return the duration in milliseconds
     * @return the duration in milliseconds, if no duration is available
     *         (for example, if streaming live content), -1 is returned.
     */
    public native int getDuration();