diff options
author | Andrew F. Davis <afd@ti.com> | 2018-10-15 12:27:29 -0500 |
---|---|---|
committer | Andrew F. Davis <afd@ti.com> | 2018-10-15 12:27:29 -0500 |
commit | ddcfdd262bd0229baea8fb2aab50e97d40aed8c7 (patch) | |
tree | 6c5c416a3aefa9c7da88c98593780b1d5e4a980f | |
parent | e0535a783ba932377bc2ad580daab578f336ad89 (diff) | |
download | am65xevm-ddcfdd262bd0229baea8fb2aab50e97d40aed8c7.tar.gz |
Add device feature permissions
Signed-off-by: Andrew F. Davis <afd@ti.com>
-rw-r--r-- | device-common.mk | 4 | ||||
-rw-r--r-- | tablet_core_hardware_am65xevm.xml | 30 |
2 files changed, 32 insertions, 2 deletions
diff --git a/device-common.mk b/device-common.mk index 38935c2..9379282 100644 --- a/device-common.mk +++ b/device-common.mk @@ -63,9 +63,9 @@ PRODUCT_COPY_FILES += \ device/ti/am65xevm/init.am65xevmboard.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.am65xevmboard.usb.rc \ device/ti/am65xevm/ueventd.am65xevmboard.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \ device/ti/am65xevm/fstab.am65xevmboard:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.am65xevmboard \ + device/ti/am65xevm/tablet_core_hardware_am65xevm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/tablet_core_hardware_am65xevm.xml \ -# device/ti/am57xevm/tablet_core_hardware_am57xevm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/tablet_core_hardware_am57xevm.xml \ - device/ti/am57xevm/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml \ +# device/ti/am57xevm/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml \ device/ti/am57xevm/init.am57xevmboard.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.am57xevmboard.usb.rc \ frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.xml \ diff --git a/tablet_core_hardware_am65xevm.xml b/tablet_core_hardware_am65xevm.xml new file mode 100644 index 0000000..7f436a9 --- /dev/null +++ b/tablet_core_hardware_am65xevm.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/ + + 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. +--> + +<permissions> + <feature name="android.software.cts" /> + <feature name="android.hardware.audio.output" /> + <feature name="android.hardware.touchscreen" /> + <feature name="android.hardware.faketouch" /> + <feature name="android.hardware.microphone" /> + <feature name="android.hardware.screen.landscape" /> + <feature name="android.software.app_widgets" /> + <feature name="android.software.home_screen" /> + <feature name="android.software.device_admin" /> + <feature name="android.software.backup" /> + <feature name="android.software.voice_recognizers" /> +</permissions> |