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

Commit aa47b72f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add additional clarification regarding nanoapp loading APIs" into...

Merge "Add additional clarification regarding nanoapp loading APIs" into sc-dev am: 65731d06 am: f7eaea5a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15286092

Change-Id: Ic422dea3b530459a54e6dba3749449cb2bd47823
parents a6d5c2b6 f7eaea5a
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -68,8 +68,11 @@ public class ContextHubClientCallback {

    /**
     * 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).
     * the {@link android.hardware.location.ContextHubManager}.
     *
     * NOTE: This callback is <b>not</b> invoked for a nanoapp that is loaded internally by CHRE
     * (e.g. nanoapps that are preloaded by the system). To check the availability of these
     * nanoapps, use the {@link ContextHubManager#queryNanoApps(ContextHubInfo)} API.
     *
     * @param client the client that is associated with this callback
     * @param nanoAppId the ID of the nanoapp that had been loaded
+2 −1
Original line number Diff line number Diff line
@@ -128,7 +128,8 @@ public final class ContextHubManager {
    public static final int AUTHORIZATION_GRANTED = 2;

    /**
     * Constants describing the type of events from a Context Hub.
     * Constants describing the type of events from a Context Hub, as defined in
     * {@link ContextHubClientCallback}.
     * {@hide}
     */
    @Retention(RetentionPolicy.SOURCE)