diff options
author | 2023-06-19 02:43:27 +0000 | |
---|---|---|
committer | 2023-06-19 02:43:27 +0000 | |
commit | eec4219f33812482cf722c78bbda14d32f7b816d (patch) | |
tree | 6dfde5b4110fccd4a54ef3757acd2c06fd3c8e59 | |
parent | a7f2514d5b9738e6f6259dbec1930ff5e4bbe08c (diff) | |
parent | 06987165f75318039aad372032c36662d78fcc45 (diff) |
Merge "[Thread] define the ThreadNetwork hardware feature"
-rw-r--r-- | data/etc/Android.bp | 6 | ||||
-rw-r--r-- | data/etc/android.hardware.threadnetwork.xml | 19 |
2 files changed, 25 insertions, 0 deletions
diff --git a/data/etc/Android.bp b/data/etc/Android.bp index 226cae12aa..2143d93632 100644 --- a/data/etc/Android.bp +++ b/data/etc/Android.bp @@ -263,6 +263,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> |