Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2302510e authored by Danny Baumann's avatar Danny Baumann Committed by Michael Bestas
Browse files

Re-add call recording.

Change-Id: I53fadf5754b5b6cc3e9920d57480e470e2305ac0
parent 65fe79d1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -71,6 +71,7 @@ LOCAL_FULL_LIBS_MANIFEST_FILES := \

LOCAL_SRC_FILES := $(call all-java-files-under, $(BASE_DIR))
LOCAL_SRC_FILES += $(call all-proto-files-under, $(BASE_DIR))
LOCAL_SRC_FILES += $(call all-Iaidl-files-under, $(SRC_DIRS))
LOCAL_SRC_FILES := $(filter-out $(EXCLUDE_FILES),$(LOCAL_SRC_FILES))

LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)
@@ -83,6 +84,8 @@ EXCLUDE_EXTRA_PACKAGES := \
	com.android.incallui.calllocation.impl \
	com.android.incallui.maps.impl \

LOCAL_AIDL_INCLUDES := $(LOCAL_PATH)/java

# We specify each package explicitly to glob resource files.
include ${LOCAL_PATH}/packages.mk

@@ -426,4 +429,3 @@ LOCAL_UNINSTALLABLE_MODULE := true
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
+9 −0
Original line number Diff line number Diff line
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:height="36dp"
    android:width="36dp"
    android:viewportWidth="24"
    android:viewportHeight="24">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M19,12C19,15.86 15.86,19 12,19C8.14,19 5,15.86 5,12C5,8.14 8.14,5 12,5C15.86,5 19,8.14 19,12Z" />
</vector>
+29 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2013-2014 The CyanogenMod Project
     Copyright (C) 2018 The LineageOS Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
    <string-array name="call_recording_encoder_entries" translatable="false">
        <item>@string/wb_amr_format</item>
        <item>@string/aac_format</item>
    </string-array>

    <string-array name="call_recording_encoder_values" translatable="false">
        <item>"0"</item>
        <item>"1"</item>
    </string-array>

</resources>
+7 −0
Original line number Diff line number Diff line
@@ -31,4 +31,11 @@
    <string name="incall_dnd_dialog_message">In order to enable Do Not Disturb, the Phone app needs to be granted the permission to control the Do Not Disturb status.\nPlease allow it.</string>
    <string name="allow">Allow</string>
    <string name="deny">Deny</string>

    <string name="call_recording_category_key" translatable="false">call_recording_category</string>
    <string name="call_recording_category_title">Call recording</string>
    <string name="call_recording_format_key" translatable="false">call_recording_format</string>
    <string name="call_recording_format">Audio format</string>
    <string name="wb_amr_format" translatable="false">AMR-WB</string>
    <string name="aac_format" translatable="false">AAC</string>
</resources>
+4 −0
Original line number Diff line number Diff line
@@ -22,4 +22,8 @@
  <files-path
    name="voicemails"
    path="voicemails/"/>
  <!-- Offer access to saved call recordings -->
  <external-path
    name="recordings"
    path="CallRecordings/"/>
</paths>
Loading