From db2438bad5816890e894221df1aafff98f11f70d Mon Sep 17 00:00:00 2001 From: Adam Farden Date: Wed, 7 Mar 2012 14:34:38 +0100 Subject: [PATCH] Add common config for devices with low space on system Change-Id: I4e63dc4d608ed79c36c6757b2ffbfc76cd3634e6 --- config/common.mk | 3 +-- config/common_full_phone.mk | 8 +++++++- config/common_full_tablet_wifionly.mk | 8 +++++++- config/common_mini_phone.mk | 22 ++++++++++++++++++++++ 4 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 config/common_mini_phone.mk diff --git a/config/common.mk b/config/common.mk index 39ac065c..5438091b 100644 --- a/config/common.mk +++ b/config/common.mk @@ -51,8 +51,7 @@ PRODUCT_COPY_FILES += \ vendor/cm/proprietary/Term.apk:system/app/Term.apk \ vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm3.so:system/lib/libjackpal-androidterm3.so -# Bring in camera effects & videos -$(call inherit-product, frameworks/base/data/videos/VideoPackage2.mk) +# Bring in camera effects PRODUCT_COPY_FILES += \ vendor/cm/prebuilt/common/media/LMprec_508.emd:system/media/LMprec_508.emd \ vendor/cm/prebuilt/common/media/PFFprec_600.emd:system/media/PFFprec_600.emd diff --git a/config/common_full_phone.mk b/config/common_full_phone.mk index 9a646208..8d69ead5 100644 --- a/config/common_full_phone.mk +++ b/config/common_full_phone.mk @@ -2,7 +2,13 @@ $(call inherit-product, vendor/cm/config/common.mk) # Bring in all audio files -include frameworks/base/data/sounds/AllAudio.mk +include frameworks/base/data/sounds/NewAudio.mk + +# Extra Ringtones +include frameworks/base/data/sounds/AudioPackageNewWave.mk + +# Bring in all video files +$(call inherit-product, frameworks/base/data/videos/VideoPackage2.mk) # Include CM audio files include vendor/cm/config/cm_audio.mk diff --git a/config/common_full_tablet_wifionly.mk b/config/common_full_tablet_wifionly.mk index a15d21d9..410bc924 100644 --- a/config/common_full_tablet_wifionly.mk +++ b/config/common_full_tablet_wifionly.mk @@ -2,7 +2,13 @@ $(call inherit-product, vendor/cm/config/common.mk) # Bring in all audio files -include frameworks/base/data/sounds/AllAudio.mk +include frameworks/base/data/sounds/NewAudio.mk + +# Extra Ringtones +include frameworks/base/data/sounds/AudioPackageNewWave.mk + +# Bring in all video files +$(call inherit-product, frameworks/base/data/videos/VideoPackage2.mk) # Include CM audio files include vendor/cm/config/cm_audio.mk diff --git a/config/common_mini_phone.mk b/config/common_mini_phone.mk new file mode 100644 index 00000000..43bbe613 --- /dev/null +++ b/config/common_mini_phone.mk @@ -0,0 +1,22 @@ +# Inherit common CM stuff +$(call inherit-product, vendor/cm/config/common.mk) + +# Bring in all audio files +include frameworks/base/data/sounds/NewAudio.mk + +# Include CM audio files +include vendor/cm/config/cm_audio.mk + +# Default ringtone +PRODUCT_PROPERTY_OVERRIDES += \ + ro.config.ringtone=CyanTone.ogg \ + ro.config.notification_sound=CyanMessage.ogg \ + ro.config.alarm_alert=CyanAlarm.ogg + +PRODUCT_PACKAGES += \ + Mms + +ifeq ($(TARGET_BOOTANIMATION_NAME),) + PRODUCT_COPY_FILES += \ + vendor/cm/prebuilt/common/bootanimation/vertical-320x480.zip:system/media/bootanimation.zip +endif