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

Commit 3fd43a1c authored by Danny Baumann's avatar Danny Baumann Committed by Michael Bestas
Browse files

Re-add call recording.

Author: Danny Baumann <dannybaumann@web.de>
Date:   Mon Jul 9 11:19:24 2018 +0200

    Re-add call recording.

    Change-Id: I53fadf5754b5b6cc3e9920d57480e470e2305ac0

Author: Markus Gruber <gruberma@outlook.at>
Date:   Sat Oct 13 09:17:01 2018 +0200

    Allow call recording for Austria

     * Call recording is legal in Austria, so it should be available in the UI

    Change-Id: Iaae0b222d2a1108572832732471e7e063f84dd1f

Author: Alexandre Pary <alexandre.pary@gmail.com>
Date:   Wed Oct 17 11:33:35 2018 +0200

    Allow call recording for Belgium

     * Call recording is legal in Belgium, so it should be available in the UI

    Change-Id: I0d18c5c31aa5fbde08a849932ac0c8088508dbd8

Author: Arekusu Rin <alexmatteotv@gmail.com>
Date:   Thu Oct 18 10:20:42 2018 +0200

    Allow call recording for Bulgaria.

    * Call recording is legal, subject to certain restrictions, in Bulgaria.
    Call recording without notification or one side's consent is not a
    criminal offense, and only affects the admissibility of said call
    recording as evidence.

    Change-Id: Ie35f23056914fb2e7639ea509675e21e7fdfab26
    (cherry picked from commit 4cec325c)

Author: Bruno Martins <bgcngm@gmail.com>
Date:   Tue Oct 23 21:03:47 2018 +0100

    res: Fix malformed XML

     * The legal precedent source URL includes double dashes and breaks
       aapt2 compilation. Replace it by a shortened one.

    Change-Id: Ic1cb1b6af16d27649e36478ca7597b78b93b1338

Author: Arekusu Rin <alexmatteotv@gmail.com>
Date:   Thu Oct 25 12:50:57 2018 +0200

    Enable or disable call recording for numerous countries via MCC.

    * This change handles call recording within the Dialer. Changes were made
    to the template of all of the XML files, and all links were changed to
    https, where possible. Quotes of the precedents and/or laws can be found
    within each country's XML file. Countries' whose status was not changed
    are not explicitly mentioned below, despite any changes to their files.

    * Call recording is disabled for: Andorra, Iceland, Indonesia, Monaco,
    Switzerland, the United States of America and some of its territories -
    Guam, Northern Mariana Islands, Puerto Rico and the United States Virgin Islands.

    * Call recording is enabled for: Albania, American Samoa, Argentina, Armenia,
    Aruba, Belarus, Bonaire, Bosnia and Herzegovina, Brazil, Canada, Chile,
    Croatia, Curaçao, Cyprus, Estonia, Faroe Islands, French Guiana, French Polynesia,
    Georgia, Greece, Greenland, Guadeloupe, Hungary, India, Ireland, Israel, Japan,
    Kosovo, Latvia, Liechtenstein, Lithuania, Luxembourg, Malta, Martinique, Mayotte,
    Moldova, Montenegro, Morocco, New Caledonia, New Zealand, North Macedonia, Peru,
    Russia, Réunion, Saba, Saint Barthélemy, Saint-Martin, Saint-Pierre-et-Miquelon,
    Serbia, Singapore, Sint Eustatius, Sint Maarten, Slovakia, Slovenia, South Africa,
    South Korea, Turkey, Ukraine and Wallis-et-Futuna.

    Change-Id: Iba5b7028d26cac281099f81bf3d5c21e2ee4d1a9

Author: Arekusu Rin <alexmatteotv@gmail.com>
Date:   Wed Jun 12 09:58:05 2019 +0200

    Enable Call Recording for Sri Lanka and Costa Rica.

    * Call recording is enabled for: Sri Lanka (413) and Costa Rica (712).
    * Fixes: Removed newline from Belgium (206) and space from Russia (250).

    Change-Id: I4c9ecf41e9fd472b97fff5cd03800414737be87a

Change-Id: Ie9e0af8ccadb1bab1c52a5d905344d0c8fcab92c
parent 9e65ee5d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ LOCAL_SRC_FILES += $(call all-proto-files-under, $(BASE_DIR))
LOCAL_SRC_FILES += $(call all-Iaidl-files-under, $(BASE_DIR))
LOCAL_SRC_FILES := $(filter-out $(EXCLUDE_FILES),$(LOCAL_SRC_FILES))

LOCAL_AIDL_INCLUDES := $(call all-Iaidl-files-under, $(BASE_DIR))
LOCAL_AIDL_INCLUDES := $(LOCAL_PATH)/java

LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)

+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>
+2 −0
Original line number Diff line number Diff line
@@ -18,6 +18,8 @@
  <color name="voicemail_icon_disabled_tint">#80000000</color>
  <color name="voicemail_playpause_icon_tint">?colorIcon</color>

  <color name="call_record_playback_icon_color">#8a000000</color>

  <!-- Text color for the "Remove" text when a contact is dragged on top of the remove view -->
  <color name="remove_highlighted_text_color">#FF3F3B</color>

Loading