Skip to content

Commit 415cb00

Browse files
Another cleanup...
1 parent 0d8ab8f commit 415cb00

5 files changed

Lines changed: 8 additions & 125 deletions

File tree

CleanSpec.mk

Lines changed: 0 additions & 51 deletions
This file was deleted.

cm.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ $(call inherit-product, vendor/cm/config/gsm.mk)
66
# Inherit CM common Phone stuff.
77
$(call inherit-product, vendor/cm/config/common_full_phone.mk)
88

9-
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=htc_vision BUILD_FINGERPRINT=htc_wwe/htc_vision/vision:4.2.2/JDQ39/87995:user/release-keys PRIVATE_BUILD_DESC="4.2.2 Andromadus release-keys"
9+
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=htc_vision BUILD_FINGERPRINT=htc_wwe/htc_vision/vision:4.3.1/JLS63I/87995:user/release-keys PRIVATE_BUILD_DESC="4.3.1 Andromadus test-keys"
1010

1111
PRODUCT_NAME := cm_vision
1212
PRODUCT_DEVICE := vision

device.mk

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -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-
2721
PRODUCT_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
4528
PRODUCT_PROPERTY_OVERRIDES += \
4629
ro.vold.umsdirtyratio=20
4730

4831
DEVICE_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
5434
PRODUCT_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

media_a1026.mk

Lines changed: 0 additions & 30 deletions
This file was deleted.

media_htcaudio.mk

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)