Add common config for devices with low space on system
Change-Id: I4e63dc4d608ed79c36c6757b2ffbfc76cd3634e6
diff --git a/config/common.mk b/config/common.mk
index 39ac065..5438091 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -51,8 +51,7 @@
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 9a64620..8d69ead 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 a15d21d..410bc92 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 0000000..43bbe61
--- /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