diff options
Diffstat (limited to 'i9305.mk')
-rw-r--r-- | i9305.mk | 43 |
1 files changed, 27 insertions, 16 deletions
@@ -19,6 +19,10 @@ LOCAL_PATH := device/samsung/i9305 # Overlay DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay +# This device is xhdpi. However the platform doesn't +# currently contain all of the bitmaps at xhdpi density so +# we do this little trick to fall back to the hdpi version +# if the xhdpi doesn't exist. PRODUCT_AAPT_CONFIG := normal hdpi xhdpi PRODUCT_AAPT_PREF_CONFIG := xhdpi @@ -26,12 +30,25 @@ PRODUCT_AAPT_PREF_CONFIG := xhdpi PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/rootdir/fstab.smdk4x12:root/fstab.smdk4x12 \ $(LOCAL_PATH)/rootdir/init.target.rc:root/init.target.rc \ + $(LOCAL_PATH)/rootdir/lpm.rc:root/lpm.rc \ $(LOCAL_PATH)/rootdir/ueventd.smdk4x12.rc:root/ueventd.smdk4x12.rc # Audio PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/tiny_hw.xml:system/etc/sound/m3 +# Camera +PRODUCT_PACKAGES += \ + camera.smdk4x12 + +# GPS +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/gps.conf:system/etc/gps.conf + +# Product specific Packages +PRODUCT_PACKAGES += \ + DeviceSettings + # NFC PRODUCT_PACKAGES += \ nfc.exynos4 \ @@ -40,20 +57,6 @@ PRODUCT_PACKAGES += \ Nfc \ Tag -# RIL -PRODUCT_PACKAGES += \ - libsecril-client \ - libsecril-client-sap - -# MM blobs -PRODUCT_PACKAGES += \ - libxml2 \ - libprotobuf-cpp-full - -# Sensors -PRODUCT_PACKAGES += \ - sensors.smdk4x12 - PRODUCT_COPY_FILES += \ packages/apps/Nfc/migrate_nfc.txt:system/etc/updatecmds/migrate_nfc.txt \ frameworks/base/nfc-extras/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml \ @@ -74,11 +77,19 @@ PRODUCT_PACKAGES += \ $(call inherit-product, vendor/cm/config/nfc_enhanced.mk) +# RIL +PRODUCT_PROPERTY_OVERRIDES += \ + ro.telephony.ril_class=SamsungQualcommRIL \ + mobiledata.interfaces=pdp0,wlan0,gprs,ppp0 \ + ro.telephony.ril.v3=newDriverCall,newDialCode + # These are the hardware-specific features PRODUCT_COPY_FILES += \ frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \ frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml -$(call inherit-product, vendor/samsung/i9305/i9305-vendor.mk) -$(call inherit-product, device/samsung/smdk4412-qcom-common/common.mk) +# Include common makefile $(call inherit-product, device/samsung/smdk4412-common/common.mk) +$(call inherit-product, device/samsung/smdk4412-qcom-common/common.mk) + +$(call inherit-product-if-exists, vendor/samsung/i9305/i9305-vendor.mk) |