diff options
author | Kangping Dong <wgtdkp@google.com> | 2023-05-25 23:56:16 +0800 |
---|---|---|
committer | Kangping Dong <wgtdkp@google.com> | 2023-07-06 10:38:07 +0800 |
commit | 4d3d265d77c2e5ea09306480b009967e819dfb15 (patch) | |
tree | 46b0787b6c11633a29b69875c0b155f1c17593c9 /data | |
parent | dccefce9c2981d059f1d70eb3f78f760358d84a8 (diff) | |
download | native-4d3d265d77c2e5ea09306480b009967e819dfb15.tar.gz |
[Thread] define the ThreadNetwork hardware feature
FR: b/235016403
Bug: 284296494
Merged-In: Ie86f2711e673d99a8e1832ce5bbaecb1454d4199
Change-Id: Ie86f2711e673d99a8e1832ce5bbaecb1454d4199
Diffstat (limited to 'data')
-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 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> |