I want to disable the feature:android.hardware.bluetooth for android automotive emulator 11.
Version that I synced with repo: android-11.0.0_r3 Version that I lunch: aosp_car_x86_64-userdebug
Changed files to comment out the permissions:
car.mk
# frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
# frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
Commented the permission in:
car_core_hardware.xml
<!-- <feature name="android.hardware.bluetooth" /> -->
If I run the emulator and ask the packagemanager, it is still convinced Bluetooth feature is enabled:
pm list features
feature:android.hardware.bluetooth
feature:android.hardware.bluetooth_le