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

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

Merge "Add a callback to signal nanoApp abort."

parents 47ab7e0f 8b268253
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -49,6 +49,20 @@ interface IContexthubCallback {
     */
     handleHubEvent(AsyncEventType evt);

    /*
     * This callback is passed by the Contexthub service to the HAL
     * implementation to allow the HAL to send a notification to the service
     * that a nanp-app has aborted.
     * This method must be called when a nanoapp invokes chreAbort(...)).
     *
     * @params appId : app identifier
     *               : abortCode code passed by the nanoApp.
     *
     * Also see chreAbort(...)
     *
     */
     handleAppAbort(uint64_t appId, uint32_t abortCode);

     /*
      * This callback is passed by the Contexthub service to the HAL
      * implementation to allow the HAL to send information about the