sm8450-common: overlay: Enable call recording

Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
This commit is contained in:
Danny Baumann 2018-07-18 17:25:32 +02:00 committed by Arian
parent 19201de306
commit adec2e2a23
4 changed files with 33 additions and 0 deletions

View file

@ -271,6 +271,7 @@ PRODUCT_PACKAGES += \
WifiResCommon_Sys WifiResCommon_Sys
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
DialerResXiaomi \
FrameworksResTarget_Vendor \ FrameworksResTarget_Vendor \
FrameworksResXiaomi \ FrameworksResXiaomi \
SettingsProviderResXiaomi \ SettingsProviderResXiaomi \

View file

@ -0,0 +1,10 @@
//
// Copyright (C) 2024 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "DialerResXiaomi",
vendor: true,
}

View file

@ -0,0 +1,10 @@
<!--
Copyright (C) 2024 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.dialer.overlay.xiaomi">
<overlay android:targetPackage="com.android.dialer"
android:isStatic="true"
android:priority="600"/>
</manifest>

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2024 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<bool name="call_recording_enabled">true</bool>
<!-- 1 (MIC) for microphone audio source (default)
4 (VOICE_CALL) if supported by device for voice call uplink + downlink audio source -->
<integer name="call_recording_audio_source">4</integer>
</resources>