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

Commit 7d888cbc authored by TYM Tsai's avatar TYM Tsai
Browse files

Update Contenet Capture API discription

There are missing API description at getServiceComponentName in
ContentCaptureManager. Some errors may occur and an exception may be
thrown. So update the javadoc to remind user to handle.

Fixes: 203368373
Test: make
Change-Id: I979c81c74cda4e50627dc0c83ae7c33b333b9255
parent 4ce27c54
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -483,6 +483,8 @@ public final class ContentCaptureManager {
    /**
     * Returns the component name of the system service that is consuming the captured events for
     * the current user.
     *
     * @throws RuntimeException if getting the component name is timed out.
     */
    @Nullable
    public ComponentName getServiceComponentName() {