summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bright <dbright@google.com>2020-02-04 12:28:33 -0800
committerDaniel Bright <dbright@google.com>2020-02-08 13:25:12 -0800
commitd759c54d5354b148a6870de877c9f6f5f31b8d91 (patch)
treecd1c32ed1a982912979ef08c28f194df78ac6342
parent540b33473853f5331673a063edf3c96dbcb30892 (diff)
downloadtaimen-d759c54d5354b148a6870de877c9f6f5f31b8d91.tar.gz
Moved telephony overlays for Walleye and Taimen
Moved vendor overlays for Walleye and Taimen to device to support backwards compatability. Bug: 148390250 Test: Built walleye Test: Built taimen Change-Id: I594ffac6ea600c70ce24c6821e57e8fcc6895a75
-rw-r--r--device.mk3
-rw-r--r--rro_overlays/TelephonyOverlay/Android.bp26
-rw-r--r--rro_overlays/TelephonyOverlay/AndroidManifest.xml28
-rw-r--r--rro_overlays/TelephonyOverlay/Common/res/values-mcc310-mnc120/donottranslate_config.xml27
-rw-r--r--rro_overlays/TelephonyOverlay/Common/res/values/donottranslate_arrays.xml35
-rw-r--r--rro_overlays/TelephonyOverlay/Common/res/values/donottranslate_config.xml27
-rw-r--r--rro_overlays/TelephonyOverlay/Taimen/res/values-mcc310-mnc004/donottranslate_config.xml24
-rw-r--r--rro_overlays/TelephonyOverlay/Taimen/res/values-mcc311-mnc480/donottranslate_config.xml24
-rw-r--r--rro_overlays/TelephonyOverlay/Taimen/res/values/donottranslate_config.xml24
9 files changed, 218 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index 489d496..b17b2c8 100644
--- a/device.mk
+++ b/device.mk
@@ -31,6 +31,9 @@ $(warning Overlays defined in '$(DEVICE_PACKAGE_OVERLAYS)' will override '$(PROD
endif
DEVICE_PACKAGE_OVERLAYS += device/google/taimen/overlay
+PRODUCT_PACKAGES += \
+ TelephonyOverlay2017Taimen
+
# Audio
PRODUCT_COPY_FILES += \
device/google/taimen/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
diff --git a/rro_overlays/TelephonyOverlay/Android.bp b/rro_overlays/TelephonyOverlay/Android.bp
new file mode 100644
index 0000000..2210226
--- /dev/null
+++ b/rro_overlays/TelephonyOverlay/Android.bp
@@ -0,0 +1,26 @@
+//
+// Copyright (C) 2020 The Android Open Source 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.
+//
+
+runtime_resource_overlay {
+ name: "TelephonyOverlay2017Taimen",
+ resource_dirs: ["Taimen/res","Common/res"],
+ certificate: "platform",
+ product_specific: true,
+ aaptflags: ["--auto-add-overlay"],
+ manifest: "AndroidManifest.xml",
+ theme: "TelephonyOverlay2017Taimen",
+}
+
diff --git a/rro_overlays/TelephonyOverlay/AndroidManifest.xml b/rro_overlays/TelephonyOverlay/AndroidManifest.xml
new file mode 100644
index 0000000..e3662bc
--- /dev/null
+++ b/rro_overlays/TelephonyOverlay/AndroidManifest.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2019 The Android Open Source 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.
+-->
+<!-- Pixel specific wifi overlays -->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.telephony.resources.pixel"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <application android:hasCode="false" />
+ <overlay
+ android:targetPackage="com.android.telephony.resources"
+ android:targetName="TelephonyCustomization"
+ android:isStatic="true"
+ android:priority="0"/>
+</manifest>
+
diff --git a/rro_overlays/TelephonyOverlay/Common/res/values-mcc310-mnc120/donottranslate_config.xml b/rro_overlays/TelephonyOverlay/Common/res/values-mcc310-mnc120/donottranslate_config.xml
new file mode 100644
index 0000000..b940d41
--- /dev/null
+++ b/rro_overlays/TelephonyOverlay/Common/res/values-mcc310-mnc120/donottranslate_config.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2016, The Android Open Source 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.
+*/
+-->
+
+<!-- These resources are around just to allow their values to be customized
+ for different hardware and product builds. -->
+<resources>
+
+ <!-- Sometimes, PDU has garbages. So, need to use valid index -->
+ <integer name="config_valid_wappush_index">4</integer>
+
+</resources>
diff --git a/rro_overlays/TelephonyOverlay/Common/res/values/donottranslate_arrays.xml b/rro_overlays/TelephonyOverlay/Common/res/values/donottranslate_arrays.xml
new file mode 100644
index 0000000..41dc40a
--- /dev/null
+++ b/rro_overlays/TelephonyOverlay/Common/res/values/donottranslate_arrays.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2019 The Android Open Source 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>
+ <!-- Device-specific array of SIM slot indexes which are are embedded eUICCs.
+ e.g. If a device has two physical slots with indexes 0, 1, and slot 1 is an
+ eUICC, then the value of this array should be:
+ <integer-array name="non_removable_euicc_slots">
+ <item>1</item>
+ </integer-array>
+ If a device has three physical slots and slot 1 and 2 are eUICCs, then the value of
+ this array should be:
+ <integer-array name="non_removable_euicc_slots">
+ <item>1</item>
+ <item>2</item>
+ </integer-array>
+ This is used to differentiate between removable eUICCs and built in eUICCs, and should
+ be set by OEMs for devices which use eUICCs. -->
+ <integer-array name="non_removable_euicc_slots">
+ <item>1</item>
+ </integer-array>
+</resources>
diff --git a/rro_overlays/TelephonyOverlay/Common/res/values/donottranslate_config.xml b/rro_overlays/TelephonyOverlay/Common/res/values/donottranslate_config.xml
new file mode 100644
index 0000000..6234fb4
--- /dev/null
+++ b/rro_overlays/TelephonyOverlay/Common/res/values/donottranslate_config.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+ * Copyright (C) 2019 The Android Open Source 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>
+
+ <!-- Enable video pause workaround when enabling/disabling the camera. -->
+ <bool name="config_useVideoPauseWorkaround">true</bool>
+
+ <!-- Use ERI text for network name on CDMA LTE -->
+ <bool name="config_LTE_eri_for_network_name">true</bool>
+
+</resources>
diff --git a/rro_overlays/TelephonyOverlay/Taimen/res/values-mcc310-mnc004/donottranslate_config.xml b/rro_overlays/TelephonyOverlay/Taimen/res/values-mcc310-mnc004/donottranslate_config.xml
new file mode 100644
index 0000000..0695db7
--- /dev/null
+++ b/rro_overlays/TelephonyOverlay/Taimen/res/values-mcc310-mnc004/donottranslate_config.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+ * Copyright (C) 2019 The Android Open Source 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>
+ <!-- MMS user agent string -->
+ <string name="config_mms_user_agent" translatable="false">g011c</string>
+ <!-- MMS user agent prolfile url -->
+ <string name="config_mms_user_agent_profile_url" translatable="false">http://uaprof.vtext.com/google/g011c/g011c.xml</string>
+</resources>
diff --git a/rro_overlays/TelephonyOverlay/Taimen/res/values-mcc311-mnc480/donottranslate_config.xml b/rro_overlays/TelephonyOverlay/Taimen/res/values-mcc311-mnc480/donottranslate_config.xml
new file mode 100644
index 0000000..0695db7
--- /dev/null
+++ b/rro_overlays/TelephonyOverlay/Taimen/res/values-mcc311-mnc480/donottranslate_config.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+ * Copyright (C) 2019 The Android Open Source 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>
+ <!-- MMS user agent string -->
+ <string name="config_mms_user_agent" translatable="false">g011c</string>
+ <!-- MMS user agent prolfile url -->
+ <string name="config_mms_user_agent_profile_url" translatable="false">http://uaprof.vtext.com/google/g011c/g011c.xml</string>
+</resources>
diff --git a/rro_overlays/TelephonyOverlay/Taimen/res/values/donottranslate_config.xml b/rro_overlays/TelephonyOverlay/Taimen/res/values/donottranslate_config.xml
new file mode 100644
index 0000000..3f8385d
--- /dev/null
+++ b/rro_overlays/TelephonyOverlay/Taimen/res/values/donottranslate_config.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+ * Copyright (C) 2019 The Android Open Source 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>
+ <!-- MMS user agent string -->
+ <string name="config_mms_user_agent" translatable="false">g011c</string>
+ <!-- MMS user agent prolfile url -->
+ <string name="config_mms_user_agent_profile_url" translatable="false">http://www.gstatic.com/android/sms/G011C.xml</string>
+</resources>