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

Commit f64937ba authored by Anthony Stange's avatar Anthony Stange Committed by Automerger Merge Worker
Browse files

Rework V1.2 ContextHub HAL spec am: aa2c425e

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/13857225

Change-Id: Ifcd6af61d798a0a8fb5543f7af6413a9a7929e93
parents c1db2dc1 aa2c425e
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -50,18 +50,6 @@ interface IContexthub extends @1.1::IContexthub {
     */
    registerCallback_1_2(uint32_t hubId, IContexthubCallback cb) generates (Result result);

    /**
     * Send a message to a hub
     *
     * @param hubId identifier for hub to send message to
     * @param msg   message to be sent
     *
     * @return result OK if successful, error code otherwise
     *                BAD_VALUE if parameters are not valid
     *                TRANSACTION_FAILED if message send failed
     */
    sendMessageToHub_1_2(uint32_t hubId, ContextHubMsg msg) generates (Result result);

    /**
     * Notification sent by the framework to indicate that the user
     * has changed a setting.
+2 −5
Original line number Diff line number Diff line
@@ -45,11 +45,8 @@ struct ContextHubMsg {
    @1.0::ContextHubMsg msg_1_0;

    /**
     * The list of Android permissions that the sender of this message has at
     * the time the message was sent.
     *
     * The HAL MUST drop messages to nanoapps if this list of permissions is not
     * a superset of those of the receiving nanoapp(s).
     * The list of Android permissions held by the sending nanoapp at the time
     * the message was sent.
     *
     * The framework MUST drop messages to host apps that don't have a superset
     * of the permissions that the sending nanoapp is using.