summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorArekusu Rin <alexmatteotv@gmail.com>2019-06-12 09:58:05 +0200
committerLuca Stefani <luca.stefani.ge1@gmail.com>2019-09-05 11:20:31 +0200
commitf3ab62bde55980c36e4ceed71b67fa5d49735307 (patch)
tree2e4898df6e9d787521ca81b3cf819b833cd27c97 /java
parent6e238530c7a5d34633dcb6cf7c69efe371d7f32d (diff)
downloadandroid_packages_apps_Dialer-f3ab62bde55980c36e4ceed71b67fa5d49735307.tar.gz
android_packages_apps_Dialer-f3ab62bde55980c36e4ceed71b67fa5d49735307.tar.bz2
android_packages_apps_Dialer-f3ab62bde55980c36e4ceed71b67fa5d49735307.zip
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
Diffstat (limited to 'java')
-rw-r--r--java/com/android/dialer/callrecord/res/values-mcc206/config.xml2
-rw-r--r--java/com/android/dialer/callrecord/res/values-mcc250/config.xml1
-rw-r--r--java/com/android/dialer/callrecord/res/values-mcc413/config.xml34
-rw-r--r--java/com/android/dialer/callrecord/res/values-mcc712/config.xml31
4 files changed, 66 insertions, 2 deletions
diff --git a/java/com/android/dialer/callrecord/res/values-mcc206/config.xml b/java/com/android/dialer/callrecord/res/values-mcc206/config.xml
index b07d80308..1658fdd50 100644
--- a/java/com/android/dialer/callrecord/res/values-mcc206/config.xml
+++ b/java/com/android/dialer/callrecord/res/values-mcc206/config.xml
@@ -29,4 +29,4 @@
-->
<resources>
-</resources>
+</resources> \ No newline at end of file
diff --git a/java/com/android/dialer/callrecord/res/values-mcc250/config.xml b/java/com/android/dialer/callrecord/res/values-mcc250/config.xml
index 2bcb013ba..c1ac12929 100644
--- a/java/com/android/dialer/callrecord/res/values-mcc250/config.xml
+++ b/java/com/android/dialer/callrecord/res/values-mcc250/config.xml
@@ -35,7 +35,6 @@
https://www.consultant.ru/document/cons_doc_LAW_61798/35f4fb38534799919febebd589466c9838f571b2/
Civil Procedure Code of 2002, N 138-FZ:
https://www.consultant.ru/document/cons_doc_LAW_39570/b48406042a309ee368f395fb6f3be1d43c7cbfc2/
-
-->
<resources>
diff --git a/java/com/android/dialer/callrecord/res/values-mcc413/config.xml b/java/com/android/dialer/callrecord/res/values-mcc413/config.xml
new file mode 100644
index 000000000..c490c5a84
--- /dev/null
+++ b/java/com/android/dialer/callrecord/res/values-mcc413/config.xml
@@ -0,0 +1,34 @@
+<?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.
+-->
+
+<!--Enable call recording for country: Sri Lanka-->
+<!--
+ Relevant laws and/or legal precedents:
+ Part IV/59 of the Sri Lankan Telecommunications Act defines the penalty for eavesdropping on a
+ call. The Sri Lankan Penal Code does not cover the act of recording one's own calls, hence the
+ act is not criminally punishable.
+ Telecommunications Act:
+ https://www.lawnet.gov.lk/1947/12/31/sri-lanka-telecommunications-2/
+ Penal Code:
+ https://www.lawnet.gov.lk/penal-code-consolidated-2/
+ Article: (nonsecure link)
+ http://www.dailymirror.lk/article/PTL-tampered-with-phone-recording-system-ASG-135574.html
+-->
+<resources>
+
+</resources> \ No newline at end of file
diff --git a/java/com/android/dialer/callrecord/res/values-mcc712/config.xml b/java/com/android/dialer/callrecord/res/values-mcc712/config.xml
new file mode 100644
index 000000000..7f01c305f
--- /dev/null
+++ b/java/com/android/dialer/callrecord/res/values-mcc712/config.xml
@@ -0,0 +1,31 @@
+<?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.
+-->
+<!--Enable call recording for country: Costa Rica-->
+<!--
+ Relevant laws and/or legal precedents:
+ One may record one's own calls, as long as they are calls between said person and only one
+ other party, that is two say two sides. Calls between 3 or more people can not be legally
+ recorded without all sides agreeing to one person doing so, as long as said person is a part of
+ the call and not wiretapping or eavesdropping. Recording calls with more than 2 participants
+ requires the express consent of all other parties. Article 29 of the Communication Law of 1994
+ specifies under what circumstances one may or may not do so.
+ Communication Law:
+ http://www.pgrweb.go.cr/scij/Busqueda/Normativa/Normas/nrm_texto_completo.aspx?param1=NRM&nValor1=1&nValor2=16466&strTipM=FN
+ Article:
+ https://www.laprensalibre.cr/Noticias/detalle/75929/ojo-conversaciones-grabadas-pueden-usarse-como-prueba-en-juicio
+-->
+<resources>
+
+</resources> \ No newline at end of file