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

Commit b1e8a6f6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix a typo on MediaTimestamp.getAnchorSytemNanoTime()"

parents 3c00affc ec3b6963
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -24500,7 +24500,8 @@ package android.media {
  public final class MediaTimestamp {
    method public long getAnchorMediaTimeUs();
    method public long getAnchorSytemNanoTime();
    method public long getAnchorSystemNanoTime();
    method public deprecated long getAnchorSytemNanoTime();
    method public float getMediaClockRate();
    field public static final android.media.MediaTimestamp TIMESTAMP_UNKNOWN;
  }
+10 −0
Original line number Diff line number Diff line
@@ -51,8 +51,18 @@ public final class MediaTimestamp
    /**
     * Get the {@link java.lang.System#nanoTime system time} corresponding to the media time
     * in nanoseconds.
     * @deprecated use {@link #getAnchorSystemNanoTime} instead.
     */
    @Deprecated
    public long getAnchorSytemNanoTime() {
        return getAnchorSystemNanoTime();
    }

    /**
     * Get the {@link java.lang.System#nanoTime system time} corresponding to the media time
     * in nanoseconds.
     */
    public long getAnchorSystemNanoTime() {
        return nanoTime;
    }