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

Commit 8fa60ce2 authored by Ashutosh Joshi's avatar Ashutosh Joshi Committed by Android (Google) Code Review
Browse files

Merge "Add a callback handler for nanoApp aborts."

parents a5a2e6d1 ccb8e675
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -318,6 +318,15 @@ struct ContextHubServiceCallback : IContexthubCallback {
        return android::hardware::Void();
        return android::hardware::Void();
    }
    }


    virtual Return<void> handleAppAbort(uint64_t appId, uint32_t abortCode) {
        ALOGI("Handle app aport called from %" PRIx64 " with abort code %" PRIu32,
            appId,
            abortCode);

        // TODO: Plumb this to the clients interested in this app
        return android::hardware::Void();
    }

    void setContextHubId(uint32_t id) {
    void setContextHubId(uint32_t id) {
        mContextHubId = id;
        mContextHubId = id;
    }
    }