From 1cf817fd00c9394959db87c95eb43ee74986b7c7 Mon Sep 17 00:00:00 2001 From: Lei Ju Date: Mon, 30 Jan 2023 11:19:44 -0800 Subject: [PATCH] Add an endpoint type for native program Test: compilation Bug: 267197197 Change-Id: Ice7df84065bf9c5acc73e21232e2ccd3d63a8bbe --- .../current/android/hardware/contexthub/HostEndpointInfo.aidl | 1 + .../aidl/android/hardware/contexthub/HostEndpointInfo.aidl | 3 +++ 2 files changed, 4 insertions(+) diff --git a/contexthub/aidl/aidl_api/android.hardware.contexthub/current/android/hardware/contexthub/HostEndpointInfo.aidl b/contexthub/aidl/aidl_api/android.hardware.contexthub/current/android/hardware/contexthub/HostEndpointInfo.aidl index 84e8531eb9..dabdbb6648 100644 --- a/contexthub/aidl/aidl_api/android.hardware.contexthub/current/android/hardware/contexthub/HostEndpointInfo.aidl +++ b/contexthub/aidl/aidl_api/android.hardware.contexthub/current/android/hardware/contexthub/HostEndpointInfo.aidl @@ -42,5 +42,6 @@ parcelable HostEndpointInfo { enum Type { FRAMEWORK = 1, APP = 2, + NATIVE = 3, } } diff --git a/contexthub/aidl/android/hardware/contexthub/HostEndpointInfo.aidl b/contexthub/aidl/android/hardware/contexthub/HostEndpointInfo.aidl index a9d6657097..c083bb9cfa 100644 --- a/contexthub/aidl/android/hardware/contexthub/HostEndpointInfo.aidl +++ b/contexthub/aidl/android/hardware/contexthub/HostEndpointInfo.aidl @@ -44,5 +44,8 @@ parcelable HostEndpointInfo { /** This endpoint is an Android app. */ APP = 2, + + /** This endpoint is from an Android native program. */ + NATIVE = 3, } }