summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralk3pInjection <webmaster@raspii.tech>2022-02-04 21:35:27 +0800
committeralk3pInjection <webmaster@raspii.tech>2022-02-04 21:35:27 +0800
commitfe4fcfeff2b8c95fd98342b915cbc2b66e982dbc (patch)
treed122bd54016cfb8bc1ceb1460896b66a665b87b2
parent1c91d5c03aefb9bc9c0c94553ca1aac40a9a04f7 (diff)
fixup! product: Remove default AOSP sounds
Guard it properly. Fixes: 1c91d5c ("product: Remove default AOSP sounds") Change-Id: I8988f7de6a06981674c58223297ec5743cc293d1
-rw-r--r--target/product/full_base.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/product/full_base.mk b/target/product/full_base.mk
index 2de47ef975..0fba0cfac2 100644
--- a/target/product/full_base.mk
+++ b/target/product/full_base.mk
@@ -42,6 +42,16 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
netutils-wrapper-1.0
+ifeq ($(ICE_BUILD),)
+# Additional settings used in all AOSP builds
+PRODUCT_VENDOR_PROPERTIES := \
+ ro.config.ringtone?=Ring_Synth_04.ogg \
+ ro.config.notification_sound?=pixiedust.ogg
+
+# Get some sounds
+$(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk)
+endif
+
# Put en_US first in the list, so make it default.
PRODUCT_LOCALES := en_US