summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bright <dbright@google.com>2020-02-11 19:32:06 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-02-11 19:32:06 +0000
commit5f42591e40a4c92e15316b73ace00c6dc09200e4 (patch)
treeff4237963320382827be8a62f1590797a87c7d85
parent00a548b7e663b84fad456e45e5b95ae6cb6d8815 (diff)
parent72ff6193efdb11a3d5811aaf476cdbe6a4033374 (diff)
downloadmuskie-5f42591e40a4c92e15316b73ace00c6dc09200e4.tar.gz
Merge "Moved telephony overlays for Walleye and Taimen"
-rw-r--r--device-walleye.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/Walleye/res/values-mcc310-mnc004/donottranslate_config.xml29
-rw-r--r--rro_overlays/TelephonyOverlay/Walleye/res/values-mcc311-mnc480/donottranslate_config.xml29
-rw-r--r--rro_overlays/TelephonyOverlay/Walleye/res/values/donottranslate_config.xml24
9 files changed, 228 insertions, 0 deletions
diff --git a/device-walleye.mk b/device-walleye.mk
index 36a5483..aa0d4e0 100644
--- a/device-walleye.mk
+++ b/device-walleye.mk
@@ -31,6 +31,9 @@ $(warning Overlays defined in '$(DEVICE_PACKAGE_OVERLAYS)' will override '$(PROD
endif
DEVICE_PACKAGE_OVERLAYS += device/google/muskie/walleye/overlay
+PRODUCT_PACKAGES += \
+ TelephonyOverlay2017Walleye
+
include device/google/muskie/device-common.mk
PRODUCT_PROPERTY_OVERRIDES += \
diff --git a/rro_overlays/TelephonyOverlay/Android.bp b/rro_overlays/TelephonyOverlay/Android.bp
new file mode 100644
index 0000000..cf148e5
--- /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: "TelephonyOverlay2017Walleye",
+ resource_dirs: ["Walleye/res","Common/res"],
+ certificate: "platform",
+ product_specific: true,
+ aaptflags: ["--auto-add-overlay"],
+ manifest: "AndroidManifest.xml",
+ theme: "TelephonyOverlay2017Walleye",
+}
+
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/Walleye/res/values-mcc310-mnc004/donottranslate_config.xml b/rro_overlays/TelephonyOverlay/Walleye/res/values-mcc310-mnc004/donottranslate_config.xml
new file mode 100644
index 0000000..4e3bbd5
--- /dev/null
+++ b/rro_overlays/TelephonyOverlay/Walleye/res/values-mcc310-mnc004/donottranslate_config.xml
@@ -0,0 +1,29 @@
+<?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>
+
+ <!-- MMS user agent string -->
+ <string name="config_mms_user_agent" translatable="false">g011a</string>
+ <!-- MMS user agent prolfile url -->
+ <string name="config_mms_user_agent_profile_url" translatable="false">http://uaprof.vtext.com/google/g011a/g011a.xml</string>
+
+</resources>
diff --git a/rro_overlays/TelephonyOverlay/Walleye/res/values-mcc311-mnc480/donottranslate_config.xml b/rro_overlays/TelephonyOverlay/Walleye/res/values-mcc311-mnc480/donottranslate_config.xml
new file mode 100644
index 0000000..4e3bbd5
--- /dev/null
+++ b/rro_overlays/TelephonyOverlay/Walleye/res/values-mcc311-mnc480/donottranslate_config.xml
@@ -0,0 +1,29 @@
+<?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>
+
+ <!-- MMS user agent string -->
+ <string name="config_mms_user_agent" translatable="false">g011a</string>
+ <!-- MMS user agent prolfile url -->
+ <string name="config_mms_user_agent_profile_url" translatable="false">http://uaprof.vtext.com/google/g011a/g011a.xml</string>
+
+</resources>
diff --git a/rro_overlays/TelephonyOverlay/Walleye/res/values/donottranslate_config.xml b/rro_overlays/TelephonyOverlay/Walleye/res/values/donottranslate_config.xml
new file mode 100644
index 0000000..6afad03
--- /dev/null
+++ b/rro_overlays/TelephonyOverlay/Walleye/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">g011a</string>
+ <!-- MMS user agent prolfile url -->
+ <string name="config_mms_user_agent_profile_url" translatable="false">http://www.gstatic.com/android/sms/G011A.xml</string>
+</resources>