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

Commit 5c3e08bb authored by Gil Cukierman's avatar Gil Cukierman
Browse files

libradiocompat: Expose AIDL indications

Bug: 308985785
Test: m
Change-Id: Iecf657e06a00e2beb781ac7ec849950dcb42038d
parent dfb05536
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -53,6 +53,10 @@ RadioResponse& CallbackManager::response() const {
    return *mRadioResponse;
}

RadioIndication& CallbackManager::indication() const {
    return *mRadioIndication;
}

void CallbackManager::setResponseFunctionsDelayed() {
    std::unique_lock<std::mutex> lock(mDelayedSetterGuard);
    mDelayedSetterDeadline = std::chrono::steady_clock::now() + kDelayedSetterDelay;
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ class CallbackManager {
    ~CallbackManager();

    RadioResponse& response() const;
    RadioIndication& indication() const;

    template <typename ResponseType, typename IndicationType>
    void setResponseFunctions(const std::shared_ptr<ResponseType>& response,