summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPulkit Bhuwalka <pulkitb@google.com>2017-02-14 21:18:35 -0800
committerPulkit Bhuwalka <pulkitb@google.com>2017-02-15 11:38:27 -0800
commit337feff8b79e1aa8c50ef7d8d15e9076385e136b (patch)
tree95cc64175f0d17495c7776b4efa6450474bdb773
parentd988cb11b57956297beef31a62c02628b0f6430e (diff)
downloaddevice_generic_armv7-a-neon-337feff8b79e1aa8c50ef7d8d15e9076385e136b.tar.gz
device_generic_armv7-a-neon-337feff8b79e1aa8c50ef7d8d15e9076385e136b.tar.bz2
device_generic_armv7-a-neon-337feff8b79e1aa8c50ef7d8d15e9076385e136b.zip
Replace hardware features conf file to be emulator specific
The mini_common.mk file gets used only for emulators which should have bluetooth disabled. Using the default handheld_core_hardware.xml file has bluetooth enabled. We should use the generic handheld_core_hardware.xml file for emulators which has bluetooth disabled. It's presence causes problems upstream in SystemServer when BluetoothService starts and requires an extra emulator config change which should not be there. Bug: 35361545 Test: Verified by launching Android Emulator. It works fine and does not start bluetooth. Change-Id: Iae4bb74db703b2b036464e62be99c7c3f2e84ec9
-rw-r--r--mini_common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mini_common.mk b/mini_common.mk
index 5ee22be..41ca142 100644
--- a/mini_common.mk
+++ b/mini_common.mk
@@ -64,13 +64,13 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += camera.goldfish.jpeg
PRODUCT_COPY_FILES += \
+ device/generic/goldfish/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \
frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
- frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
PRODUCT_PROPERTY_OVERRIDES += \
ro.carrier=unknown \