diff options
author | Joonas Kylmälä <joonas.kylmala@iki.fi> | 2020-07-05 13:22:03 -0400 |
---|---|---|
committer | Joonas Kylmälä <joonas.kylmala@iki.fi> | 2020-07-05 13:22:03 -0400 |
commit | f5fbf0849f1881d506136b8c008ffaa710fcdb58 (patch) | |
tree | 6c267ff64d17cacc257194335f91923b740f79d1 | |
parent | d365fa07f166cb431c56d41af8780feef4999b5e (diff) | |
download | device_samsung_midas_common-f5fbf0849f1881d506136b8c008ffaa710fcdb58.tar.gz device_samsung_midas_common-f5fbf0849f1881d506136b8c008ffaa710fcdb58.tar.bz2 device_samsung_midas_common-f5fbf0849f1881d506136b8c008ffaa710fcdb58.zip |
Remove Bluetooth from list of supported HW
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
-rw-r--r-- | midas.mk | 4 | ||||
-rw-r--r-- | unsupported_hardware.xml | 27 |
2 files changed, 31 insertions, 0 deletions
@@ -86,6 +86,10 @@ PRODUCT_COPY_FILES += \ frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ frameworks/av/services/audiopolicy/config/surround_sound_configuration_5_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/surround_sound_configuration_5_0.xml +# Copy list of unsupported HW features +PRODUCT_COPY_FILES += \ + device/samsung/midas-common/unsupported_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/unsupported_hardware.xml + # DRM HAL packages PRODUCT_PACKAGES += \ android.hardware.drm@1.0-service \ diff --git a/unsupported_hardware.xml b/unsupported_hardware.xml new file mode 100644 index 0000000..56c8462 --- /dev/null +++ b/unsupported_hardware.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!-- + Copyright 2020 Joonas Kylmälä + + 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. +--> + +<!-- + +We include the default HW features from +frameworks/native/data/etc/handheld_core_hardware.xml. List here all +the features the devices don't actually support yet. + +--> +<permissions> + <unavailable-feature name="android.hardware.bluetooth" /> +</permissions> |