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

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

Modify default contexthub impl based on latest spec am: 778fb3e7

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

Change-Id: Id06b10344b241a3b89b1f9ffc8988c66f7864cdd
parents f64937ba 778fb3e7
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -80,12 +80,6 @@ Return<Result> Contexthub::registerCallback_1_2(uint32_t hubId,
    return Result::BAD_PARAMS;
}

// We don't expose any nanoapps, therefore all nanoapp-related API calls return with BAD_PARAMS
Return<Result> Contexthub::sendMessageToHub_1_2(uint32_t /* hubId */,
                                                const ContextHubMsg& /* msg */) {
    return Result::BAD_PARAMS;
}

Return<void> Contexthub::onSettingChanged(SettingV1_1 /*setting*/, SettingValue /*newValue*/) {
    return Void();
}
+0 −2
Original line number Diff line number Diff line
@@ -55,8 +55,6 @@ class Contexthub
    Return<Result> registerCallback_1_2(uint32_t hubId,
                                        const sp<V1_2::IContexthubCallback>& cb) override;

    Return<Result> sendMessageToHub_1_2(uint32_t hubId, const ContextHubMsg& msg) override;

  private:
    sp<IContextHubCallbackWrapperBase> mCallback;
};