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

Commit 5b41818c authored by Guojing Yuan's avatar Guojing Yuan
Browse files

Update CompanionDeviceService javadocs to reflect the new presence behavior.

Change-Id: Ie44fa8d1aacfe1929b3338542d38c1048d2c7037
Fix: 379170476
Test: N/A
Flag: EXEMPT bugfix
parent 4a2f9625
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -249,7 +249,7 @@ public abstract class CompanionDeviceService extends Service {

    // TODO(b/315163162) Add @Deprecated keyword after 24Q2 cut.
    /**
     * Called by system whenever a device associated with this app is connected.
     * Called by the system when an associated device is nearby or connected.
     *
     * @param associationInfo A record for the companion device.
     */
@@ -262,7 +262,7 @@ public abstract class CompanionDeviceService extends Service {

    // TODO(b/315163162) Add @Deprecated keyword after 24Q2 cut.
    /**
     * Called by system whenever a device associated with this app is disconnected.
     * Called by the system when an associated device is out of range or disconnected.
     *
     * @param associationInfo A record for the companion device.
     */
@@ -274,7 +274,7 @@ public abstract class CompanionDeviceService extends Service {
    }

    /**
     * Called by the system during device events.
     * Called by the system when an associated device's presence state changes.
     *
     * @see CompanionDeviceManager#startObservingDevicePresence(ObservingDevicePresenceRequest)
     */