Address API feedback for BackupTransport#getBackupManagerMonitor
1. Link to BackupManagerMonitor instead of IBackupManagerMonitor in the javadoc. 2. Explain in the javadoc why the method can return null. Bug: 264927738 Test: N/A Change-Id: Ifc99b31f90ee873a396b7f6e35d3509ffa2dd521
This commit is contained in:
@@ -656,11 +656,14 @@ public class BackupTransport {
|
||||
}
|
||||
|
||||
/**
|
||||
* Ask the transport for a {@link IBackupManagerMonitor} instance which will be used by the
|
||||
* Ask the transport for a {@link BackupManagerMonitor} instance which will be used by the
|
||||
* framework to report logging events back to the transport.
|
||||
*
|
||||
* <p>Backups requested from outside the framework may pass in a monitor with the request,
|
||||
* however backups initiated by the framework will call this method to retrieve one.
|
||||
*
|
||||
* @return {@link BackupManagerMonitor} or {@code null} if the transport implementation does not
|
||||
* wish to receive the logging events.
|
||||
*/
|
||||
@Nullable
|
||||
public BackupManagerMonitor getBackupManagerMonitor() {
|
||||
|
||||
Reference in New Issue
Block a user