diff options
| author | 2019-10-03 06:58:10 -0700 | |
|---|---|---|
| committer | 2019-10-03 15:45:06 -0700 | |
| commit | ff8048c18a2d4a9f91cb6ec0e4658fbe5a632ba8 (patch) | |
| tree | e2d1382a2cc99bd12e7f2ead6ca9f93c1b99bd61 | |
| parent | 4a23ff3038d2fbe3e2d43121fcd6c75a41edd807 (diff) | |
Clarifies usage of ContextHubClientCallback APIs
Test: None
Change-Id: I7e67bbf1ebbf5810b87cd09c943343e5056ce9a5
| -rw-r--r-- | core/java/android/hardware/location/ContextHubClientCallback.java | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/core/java/android/hardware/location/ContextHubClientCallback.java b/core/java/android/hardware/location/ContextHubClientCallback.java index cc2fe65dcb7e..20fa7538e2d5 100644 --- a/core/java/android/hardware/location/ContextHubClientCallback.java +++ b/core/java/android/hardware/location/ContextHubClientCallback.java @@ -66,7 +66,9 @@ public class ContextHubClientCallback { public void onNanoAppAborted(ContextHubClient client, long nanoAppId, int abortCode) {} /** - * Callback invoked when a nanoapp is loaded at the attached Context Hub. + * Callback invoked when a nanoapp is dynamically loaded at the attached Context Hub through + * the {@link android.hardware.location.ContextHubManager}. This callback is not invoked for a + * nanoapp that is loaded internally by CHRE (e.g. nanoapps that are preloaded by the system). * * @param client the client that is associated with this callback * @param nanoAppId the ID of the nanoapp that had been loaded @@ -74,7 +76,8 @@ public class ContextHubClientCallback { public void onNanoAppLoaded(ContextHubClient client, long nanoAppId) {} /** - * Callback invoked when a nanoapp is unloaded from the attached Context Hub. + * Callback invoked when a nanoapp is dynamically unloaded from the attached Context Hub through + * the {@link android.hardware.location.ContextHubManager}. * * @param client the client that is associated with this callback * @param nanoAppId the ID of the nanoapp that had been unloaded @@ -82,7 +85,8 @@ public class ContextHubClientCallback { public void onNanoAppUnloaded(ContextHubClient client, long nanoAppId) {} /** - * Callback invoked when a nanoapp is enabled at the attached Context Hub. + * Callback invoked when a nanoapp is dynamically enabled at the attached Context Hub through + * the {@link android.hardware.location.ContextHubManager}. * * @param client the client that is associated with this callback * @param nanoAppId the ID of the nanoapp that had been enabled @@ -90,7 +94,8 @@ public class ContextHubClientCallback { public void onNanoAppEnabled(ContextHubClient client, long nanoAppId) {} /** - * Callback invoked when a nanoapp is disabled at the attached Context Hub. + * Callback invoked when a nanoapp is dynamically disabled at the attached Context Hub through + * the {@link android.hardware.location.ContextHubManager}. * * @param client the client that is associated with this callback * @param nanoAppId the ID of the nanoapp that had been disabled |