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

Commit bdfe955f authored by Ruslan Tkhakokhov's avatar Ruslan Tkhakokhov
Browse files

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
parent 3521df06
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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() {