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
This commit is contained in:
Hall Liu
2018-05-31 16:26:01 -07:00
parent c1ae0a7656
commit bc9f7cdf91

View File

@@ -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