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

Commit bbd45ee4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Use MediaParser SeekMap unknown duration constant" into rvc-dev am:...

Merge "Use MediaParser SeekMap unknown duration constant" into rvc-dev am: 7c41c815 am: 3130b3f6 am: c9d1d625

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11744204

Change-Id: Ife7f7bcab88259082b5dd4df9996ef605835ae98
parents d69e228d c9d1d625
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -219,7 +219,8 @@ public final class MediaParser {
         * duration is unknown.
         */
        public long getDurationMicros() {
            return mExoPlayerSeekMap.getDurationUs();
            long durationUs = mExoPlayerSeekMap.getDurationUs();
            return durationUs != C.TIME_UNSET ? durationUs : UNKNOWN_DURATION;
        }

        /**