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

Commit a7407ef0 authored by Andreas Huber's avatar Andreas Huber Committed by Android Git Automerger
Browse files

am baf4a057: am 5c5c3f3a: Merge "Document that MediaPlayer.getDuration()...

am baf4a057: am 5c5c3f3a: Merge "Document that MediaPlayer.getDuration() returns an invalid value (-1)" into jb-mr2-dev

* commit 'baf4a057':
  Document that MediaPlayer.getDuration() returns an invalid value (-1)
parents f38c6ab7 baf4a057
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();