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

Commit bc9f7cdf authored by Hall Liu's avatar Hall Liu
Browse files

Move the "repeated calls" caveat

Previous CL put the "repeated calls will replace the listener" comment
on the wrong method. Fixing.

Bug: 80493663
Test: None, doc change
Change-Id: I2736a582d79b3b2f204519c649d82d9ba912e1e5
parent c1ae0a76
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -664,9 +664,6 @@ public class MbmsDownloadSession implements AutoCloseable {
     * If the operation encountered an error, the error code will be delivered via
     * {@link MbmsDownloadSessionCallback#onError}.
     *
     * Repeated calls to this method for the same {@link DownloadRequest} will replace the
     * previously registered listener.
     *
     * @param request The {@link DownloadRequest} provided during registration
     * @param listener The listener provided during registration.
     */
@@ -726,6 +723,9 @@ public class MbmsDownloadSession implements AutoCloseable {
     * If the operation encountered an error, the error code will be delivered via
     * {@link MbmsDownloadSessionCallback#onError}.
     *
     * Repeated calls to this method for the same {@link DownloadRequest} will replace the
     * previously registered listener.
     *
     * @param request The {@link DownloadRequest} that you want updates on.
     * @param executor The {@link Executor} on which calls to {@code listener} should be executed.
     * @param listener The listener that should be called when the middleware has information to