diff options
author | Daniel Bright <dbright@google.com> | 2020-02-11 19:32:06 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-02-11 19:32:06 +0000 |
commit | e5271967a75824036d3df462354fa4f251c7278c (patch) | |
tree | 971775ea1188cacf79996c3dd4286b88e6e56c3c | |
parent | 21f6076d32ece495111f3958315854e873982eb9 (diff) | |
parent | d759c54d5354b148a6870de877c9f6f5f31b8d91 (diff) | |
download | taimen-e5271967a75824036d3df462354fa4f251c7278c.tar.gz |
Merge "Moved telephony overlays for Walleye and Taimen"
9 files changed, 218 insertions, 0 deletions
@@ -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> |