summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-07-24 12:53:22 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2023-07-24 12:53:22 +0000
commiteefcd7fb2fa65b5ba8e00ac2a26ca4a84d395bff (patch)
tree373ab7906077ed6f7795e13c52ee63617735638c
parent0042358300a4045609fafb676818e6803ad72df3 (diff)
parent32b511f4716244f0cf13ca0a1d5b8b2efe09d688 (diff)
Merge "[Thread] define the ThreadNetwork hardware feature" into main am: 32b511f471
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2605745 Change-Id: Ia6c3a0280e158288f2e8d190f70bdb2bd96783ad Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--data/etc/Android.bp6
-rw-r--r--data/etc/android.hardware.threadnetwork.xml19
2 files changed, 25 insertions, 0 deletions
diff --git a/data/etc/Android.bp b/data/etc/Android.bp
index a737bd3fb7..92dc46ed8d 100644
--- a/data/etc/Android.bp
+++ b/data/etc/Android.bp
@@ -173,6 +173,12 @@ prebuilt_etc {
}
prebuilt_etc {
+ name: "android.hardware.threadnetwork.prebuilt.xml",
+ src: "android.hardware.threadnetwork.xml",
+ defaults: ["frameworks_native_data_etc_defaults"],
+}
+
+prebuilt_etc {
name: "android.hardware.usb.accessory.prebuilt.xml",
src: "android.hardware.usb.accessory.xml",
defaults: ["frameworks_native_data_etc_defaults"],
diff --git a/data/etc/android.hardware.threadnetwork.xml b/data/etc/android.hardware.threadnetwork.xml
new file mode 100644
index 0000000000..9cbdc905fb
--- /dev/null
+++ b/data/etc/android.hardware.threadnetwork.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2023 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- Adds the feature indicating support for the ThreadNetwork API -->
+<permissions>
+ <feature name="android.hardware.threadnetwork" />
+</permissions>