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

Commit 44609863 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Adjust Context Hub AIDL based on feedback"

parents 2f0101ff 7ae42554
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ parcelable HostEndpointInfo {
  @nullable String attributionTag;
  @Backing(type="int") @VintfStability
  enum Type {
    TYPE_FRAMEWORK = 1,
    TYPE_APP = 2,
    FRAMEWORK = 1,
    APP = 2,
  }
}
+6 −2
Original line number Diff line number Diff line
@@ -32,10 +32,14 @@ parcelable ContextHubMessage {
     */
    char hostEndPoint;

    /** The type of this message */
    /**
     * The type of this message payload, defined by the communication endpoints (i.e.
     * either the nanoapp or the host endpoint). This value can be used to distinguish
     * the handling of messageBody (e.g. for decoding).
     */
    int messageType;

    /** The payload containing the message */
    /** The payload containing the message. */
    byte[] messageBody;

    /**
+4 −4
Original line number Diff line number Diff line
@@ -37,12 +37,12 @@ parcelable HostEndpointInfo {
    @Backing(type="int")
    enum Type {
        /**
           This endpoint is from the Android framework, where packageName and attributionTag may be
           empty.
         * This endpoint is from the Android framework, where packageName and attributionTag may be
         * empty.
         */
        TYPE_FRAMEWORK = 1,
        FRAMEWORK = 1,

        /** This endpoint is an Android app. */
        TYPE_APP = 2,
        APP = 2,
    }
}