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

Commit 39fd9fd5 authored by Arekusu Rin's avatar Arekusu Rin Committed by Rashed Abdel-Tawab
Browse files

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
parent f15a939a
Loading
Loading
Loading
Loading
+18 −3
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
<!--
     Copyright (C) 2014 The CyanogenMod Project
     Copyright (C) 2014-2016 The CyanogenMod Project
     Copyright (C) 2016-2019 The LineageOS Project


     Licensed under the Apache License, Version 2.0 (the "License");
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     you may not use this file except in compliance with the License.
@@ -14,6 +15,20 @@
     See the License for the specific language governing permissions and
     See the License for the specific language governing permissions and
     limitations under the License.
     limitations under the License.
-->
-->

<!--Enable call recording for country: Greece-->
<!--
     Relevant laws and/or legal precedents:
     Section 2 of Article 370A of the Greek Penal Code bans it, subarticle 4 offers exceptions when
     no other evidence is present. Decision 53/2010 of the Supreme Criminal Court limits evidence
     submitting to third parties that found the recording 'by accident'. Decision 277/2014 of the
     Supreme Criminal Court acquitted a guilty party and deemed the presented recordings admissable.
     Article 25 of the Penal Code states that, any action is not illegal if it was done so to
     protect the property or safety of oneself or of another party, provided that the crime of
     sharing the recording is a lesser one in comparison.
     Legal discussion:
     https://uk.practicallaw.thomsonreuters.com/w-010-1738
-->
<resources>
<resources>
    <bool name="call_recording_enabled">false</bool>

</resources>
</resources>
 No newline at end of file
+14 −4
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
<!--
     Copyright (C) 2015 The CyanogenMod Project
     Copyright (C) 2014-2016 The CyanogenMod Project
     Copyright (C) 2016-2019 The LineageOS Projectt


     Licensed under the Apache License, Version 2.0 (the "License");
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     you may not use this file except in compliance with the License.
@@ -15,8 +16,17 @@
     limitations under the License.
     limitations under the License.
-->
-->


<!--Allow recording for country: Netherlands-->
<!--Enable call recording for country: Netherlands-->
<!--Legal precedent source: http://blog.wetrecht.nl/telefoongesprekken-opnemen-als-bewijs-kan-dat/ -->
<!--MCCs that conform to this country's legislation: 204, 362 and 363-->
<!--
     Relevant laws and/or legal precedents:
     Recording one's own conversations without the consent of the other party or parties is not in
     itself punishable by law. Sharing recordings made without consent is punishable in the form of
     a libel case. This in effect means that the government shall not prosecute anyone for the
     recording of calls. Call recordings may be used as evidence in criminal and civil cases.
     Legal discussion:
     https://blog.wetrecht.nl/telefoongesprekken-opnemen-als-bewijs-kan-dat
-->
<resources>
<resources>


</resources>
</resources>
 No newline at end of file
+13 −3
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
<!--
     Copyright (C) 2014 The CyanogenMod Project
     Copyright (C) 2014-2016 The CyanogenMod Project
     Copyright (C) 2016-2019 The LineageOS Project


     Licensed under the Apache License, Version 2.0 (the "License");
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     you may not use this file except in compliance with the License.
@@ -15,8 +16,17 @@
     limitations under the License.
     limitations under the License.
-->
-->


<!--Allow recording for country: Belgium-->
<!--Enable call recording for country: Belgium-->
<!--Legal precedent source: QRVA 50 157, Page 20199, 24/02/2003, https://www.lachambre.be/QRVA/pdf/50/50K0157.pdf-->
<!--
     Relevant laws and/or legal precedents:
     As stated in the official response below, Belgian law does not consider the recording of one's
     personal communications as a punishable offense. Using said recordings in a fraudulent and/or
     demeaning way does carry the potential for liability and/or prosecution by the state. The
     recording of one's own calls might be regarded as a form of personal data processing, depending
     on the specifics of the case. Specific laws and cases are quoted within the official response.
     Official Response by Belgian Minister (QRVA 50 157, internal pages 20199-20202, 24/02/2003):
     https://www.lachambre.be/QRVA/pdf/50/50K0157.pdf
-->
<resources>
<resources>


</resources>
</resources>
+21 −4
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
<!--
     Copyright (C) 2014 The CyanogenMod Project
     Copyright (C) 2014-2016 The CyanogenMod Project
     Copyright (C) 2016-2019 The LineageOS Project


     Licensed under the Apache License, Version 2.0 (the "License");
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     you may not use this file except in compliance with the License.
@@ -15,8 +16,24 @@
     limitations under the License.
     limitations under the License.
-->
-->


<!--Allow recording for country: France-->
<!--Enable call recording for country: France-->
<!--Legal precedent source: http://levesquelavoie.com/2011/11/la-legalite-de-lenregistrement-dune-conversation/-->
<!--MCCs that conform to this country's legislation: 208, 308, 340, 543, 547 and 647-->
<!--
     Relevant laws and/or legal precedents:
     While recording calls without consent, as a third party, is punishable, it depends on whether
     said recording was created or used with a malicious intent. Judges are free to view said
     recordings as a form of evidence and base their final decisions with their help. Recording your
     own calls as a private citizen is not a criminal offense. Sharing said recordings, with the
     intent to harm the other party in any way, is a criminal offense.
     Penal Code:
     https://www.legifrance.gouv.fr/affichCode.do;jsessionid=3E84EAC0F63D49FC16A28B8D90EFF1D2.tplgfr44s_2?idSectionTA=LEGISCTA000006165309&cidTexte=LEGITEXT000006070719&dateTexte=20150413
     Civil Code:
     https://www.legifrance.gouv.fr/affichCode.do;jsessionid=1A7384A63066DBE1E1D8C732E698F844.tplgfr23s_3?idSectionTA=LEGISCTA000006117610&cidTexte=LEGITEXT000006070721&dateTexte=20190606
     Legal article on call recordings as evidence:
     https://www.annuaireavocats.fr/articles/enregistrer-une-conversation-a-linsu-dune-personne-est-ce-legal
     Legal article on recording in the workplace:
     https://www.cnil.fr/fr/lecoute-et-lenregistrement-des-appels-sur-le-lieu-de-travail
-->
<resources>
<resources>


</resources>
</resources>
 No newline at end of file
+33 −0
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<!--
     Copyright (C) 2014-2016 The CyanogenMod Project
     Copyright (C) 2016-2019 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.
-->

<!--Disable call recording for country: Monaco-->
<!--
     Relevant laws and/or legal precedents:
     According to the Penal Code of Monaco, Article 308-2, a person may be punished with a prison
     sentence of six months to three years, as well as a fine, for infinging or attempting to
     infinge on a person's rights to privacy. This includes wiretapping, recording or transmitting
     the words spoken by a person in a private place. Consent will be presumed when such an action
     is done during a meeting, with the knowledge of the person that is being recorded. Article 344
     of the Penal Code mentions the same punishment for purposeful wiretapping.
     Penal Code:
     https://www.legimonaco.mc/305/legismclois.nsf/ViewCode!OpenView&Start=1&Count=300&RestrictToCategory=CODE%20P%C3%89NAL
-->
<resources>
    <bool name="call_recording_enabled">false</bool>
</resources>
 No newline at end of file
Loading