1# 2# Copyright (C) 2022 The Android Open Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17$(call inherit-product, $(SRC_TARGET_DIR)/product/base_product.mk) 18 19# Default AOSP sounds 20$(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk) 21 22# Wear pulls in some obsolete samples as well 23_ringtones := Callisto Dione Ganymede Luna Oberon Phobos Sedna Triton Umbriel 24PRODUCT_COPY_FILES += \ 25 frameworks/base/data/sounds/alarms/ogg/Oxygen.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Oxygen.ogg \ 26 frameworks/base/data/sounds/notifications/ogg/Tethys.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/Tethys.ogg \ 27 $(call product-copy-files-by-pattern,frameworks/base/data/sounds/ringtones/ogg/%.ogg,$(TARGET_COPY_OUT_PRODUCT)/media/audio/ringtones/%.ogg,$(_ringtones)) \ 28 29PRODUCT_PRODUCT_PROPERTIES += \ 30 ro.config.alarm_alert=Oxygen.ogg \ 31 ro.config.notification_sound=Tethys.ogg \ 32 ro.config.ringtone=Atria.ogg \ 33 34PRODUCT_COPY_FILES += \ 35 device/sample/etc/apns-full-conf.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/apns-conf.xml \ 36