Merge "Move the "repeated calls" caveat" into pi-dev

This commit is contained in:
Hall Liu
2018-06-01 01:14:37 +00:00
committed by Android (Google) Code Review

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