@@ -18,38 +18,18 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
1818
1919# Andromadus Vendor include
2020
21- # The gps config appropriate for this device
22- PRODUCT_COPY_FILES += \
23- device/htc/vision/configs/gps.conf:system/etc/gps.conf
24-
25- # # (1) First, the most specific values, i.e. the aspects that are specific to GSM
26-
2721PRODUCT_COPY_FILES += \
2822 device/htc/vision/ramdisk/init.vision.rc:root/init.vision.rc \
2923 device/htc/vision/ramdisk/ueventd.vision.rc:root/ueventd.vision.rc \
3024 device/htc/msm7x30-common/rootdir/fstab.msm7x30:root/fstab.vision
3125# the line above is terribly dirty hack. But fstab doesn't work without it for some reason.
3226
33- # # (2) Also get non-open-source GSM-specific aspects if available
34- $(call inherit-product-if-exists, vendor/htc/vision/device-vendor.mk)
35-
36- # # (3) Finally, the least specific parts, i.e. the non-GSM-specific aspects
37- PRODUCT_PROPERTY_OVERRIDES += \
38- ro.com.google.locationfeatures=1 \
39- ro.com.google.networklocation=1 \
40- ro.com.google.gmsversion=2.3_r3 \
41- ro.setupwizard.enable_bypass=1 \
42- ro.kernel.android.checkjni=0
43-
4427# Override /proc/sys/vm/dirty_ratio on UMS
4528PRODUCT_PROPERTY_OVERRIDES += \
4629 ro.vold.umsdirtyratio=20
4730
4831DEVICE_PACKAGE_OVERLAYS += device/htc/vision/overlay
4932
50- PRODUCT_COPY_FILES += \
51- frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
52-
5333# gsm config xml file
5434PRODUCT_COPY_FILES += \
5535 device/htc/vision/configs/voicemail-conf.xml:system/etc/voicemail-conf.xml
@@ -116,8 +96,8 @@ PRODUCT_COPY_FILES += \
11696 device/htc/vision/firmware/vidc_720p_mp2_dec_mc.fw:system/etc/firmware/vidc_720p_mp2_dec_mc.fw \
11797 device/htc/vision/firmware/Vision_SPK.acdb:system/etc/firmware/Vision_SPK.acdb
11898
119- # Alternate NAM gps.conf to NAM package
120- PRODUCT_COPY_FILES += device/common/gps/ gps.conf_US :system/etc/nam /gps.conf
99+ # The gps config appropriate for this device
100+ PRODUCT_COPY_FILES += device/htc/vision/configs/ gps.conf :system/etc/gps.conf
121101
122102# Copy bcm4329 firmware
123103$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4329/device-bcm.mk)
@@ -126,8 +106,11 @@ $(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4329
126106$(call inherit-product, device/htc/msm7x30-common/msm7x30.mk)
127107
128108# htc audio settings
129- $(call inherit-product, device/htc/vision/media_htcaudio.mk)
130- $(call inherit-product, device/htc/vision/media_a1026.mk)
109+ PRODUCT_PROPERTY_OVERRIDES += \
110+ media.a1026.nsForVoiceRec = 0 \
111+ media.a1026.enableA1026 = 1 \
112+ htc.audio.alt.enable=0 \
113+ htc.audio.hac.enable=0
131114
132115$(call inherit-product, frameworks/native/build/phone-hdpi-512-dalvik-heap.mk)
133116
0 commit comments