sm8450-common: overlay: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
This commit is contained in:
parent
19201de306
commit
adec2e2a23
4 changed files with 33 additions and 0 deletions
|
@ -271,6 +271,7 @@ PRODUCT_PACKAGES += \
|
||||||
WifiResCommon_Sys
|
WifiResCommon_Sys
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
DialerResXiaomi \
|
||||||
FrameworksResTarget_Vendor \
|
FrameworksResTarget_Vendor \
|
||||||
FrameworksResXiaomi \
|
FrameworksResXiaomi \
|
||||||
SettingsProviderResXiaomi \
|
SettingsProviderResXiaomi \
|
||||||
|
|
10
overlay/DialerResXiaomi/Android.bp
Normal file
10
overlay/DialerResXiaomi/Android.bp
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2024 The LineageOS Project
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
//
|
||||||
|
|
||||||
|
runtime_resource_overlay {
|
||||||
|
name: "DialerResXiaomi",
|
||||||
|
vendor: true,
|
||||||
|
}
|
10
overlay/DialerResXiaomi/AndroidManifest.xml
Normal file
10
overlay/DialerResXiaomi/AndroidManifest.xml
Normal 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>
|
12
overlay/DialerResXiaomi/res/values/config.xml
Normal file
12
overlay/DialerResXiaomi/res/values/config.xml
Normal 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>
|
Loading…
Reference in a new issue