diff options
| author | 2018-11-16 14:36:02 -0800 | |
|---|---|---|
| committer | 2018-11-16 14:43:15 -0800 | |
| commit | 1c37adbb8e4beff85d65ef21cb407ff693e76444 (patch) | |
| tree | 1a5dd5820ec2c58d6ca8d4edf32e777e321f26a9 | |
| parent | 992cd354fcebfd78ff7dc0eb2acf362d14497eef (diff) | |
Updates ContextHubIntentEvent documentation
Updates the javadocs to the recent changes in the API.
Bug: 117612105
Test: None
Change-Id: I50c673353ef3c636d1cf17aad65b00ba44267472
| -rw-r--r-- | core/java/android/hardware/location/ContextHubIntentEvent.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/java/android/hardware/location/ContextHubIntentEvent.java b/core/java/android/hardware/location/ContextHubIntentEvent.java index b2aa26853f7e..539c49408c8f 100644 --- a/core/java/android/hardware/location/ContextHubIntentEvent.java +++ b/core/java/android/hardware/location/ContextHubIntentEvent.java @@ -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 |