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

Commit 1c37adbb authored by Arthur Ishiguro's avatar Arthur Ishiguro
Browse files

Updates ContextHubIntentEvent documentation

Updates the javadocs to the recent changes in the API.

Bug: 117612105
Test: None
Change-Id: I50c673353ef3c636d1cf17aad65b00ba44267472
parent 992cd354
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -24,8 +24,9 @@ import com.android.internal.util.Preconditions;

/**
 * A helper class to retrieve information about a Intent event received for a PendingIntent
 * registered through {@link ContextHubClient.registerIntent(PendingIntent, long)}. This object
 * can only be created through the factory method {@link ContextHubIntentEvent.fromIntent(Intent)}.
 * registered with {@link ContextHubManager.createClient(ContextHubInfo, PendingIntent, long)}.
 * This object can only be created through the factory method
 * {@link ContextHubIntentEvent.fromIntent(Intent)}.
 *
 * @hide
 */
@@ -77,7 +78,7 @@ public class ContextHubIntentEvent {

    /**
     * Creates a ContextHubIntentEvent object from an Intent received through a PendingIntent
     * registered through {@link ContextHubClient.registerIntent(PendingIntent, long)}.
     * registered with {@link ContextHubManager.createClient(ContextHubInfo, PendingIntent, long)}.
     *
     * @param intent the Intent object from an Intent event
     * @return the ContextHubIntentEvent object describing the event