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

Commit 0fadff77 authored by Eugene Susla's avatar Eugene Susla
Browse files

Link to CDM guide from CDM javadoc

The guide is apparently somewhat hard to find, so this adds another way
to discover it.

Test: presubmit
Change-Id: I838d6b0ca312c46aac501b696bda1eecccef0bda
parent 5df072b6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -42,11 +42,15 @@ import java.util.function.BiConsumer;
/**
 * System level service for managing companion devices
 *
 * See <a href="{@docRoot}guide/topics/connectivity/companion-device-pairing">this guide</a>
 * for a usage example.
 *
 * <p>To obtain an instance call {@link Context#getSystemService}({@link
 * Context#COMPANION_DEVICE_SERVICE}) Then, call {@link #associate(AssociationRequest,
 * Callback, Handler)} to initiate the flow of associating current package with a
 * device selected by user.</p>
 *
 * @see CompanionDeviceManager#associate
 * @see AssociationRequest
 */
@SystemService(Context.COMPANION_DEVICE_SERVICE)