diff options
author | markchien <markchien@google.com> | 2019-07-17 15:33:06 +0800 |
---|---|---|
committer | markchien <markchien@google.com> | 2019-07-17 15:33:06 +0800 |
commit | 7d44010b53b05b81a3a42c7814ffc363fd16bf7f (patch) | |
tree | 2c6bdd5b207ac024f8db2907ce896e1c130d7c32 | |
parent | 158137ad02d28c8e79ef898c7a63388c02c71603 (diff) | |
download | marlin-7d44010b53b05b81a3a42c7814ffc363fd16bf7f.tar.gz |
Enable tethering entitlement for FirstNetandroid-mainline-10.0.0_r9android-mainline-10.0.0_r8android-mainline-10.0.0_r7android-mainline-10.0.0_r6android-mainline-10.0.0_r5android-mainline-10.0.0_r4android-10.0.0_r45android-10.0.0_r44android-10.0.0_r43android-10.0.0_r42android-10.0.0_r41android-10.0.0_r40android-10.0.0_r39android-10.0.0_r38android-10.0.0_r37android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android10-qpr3-s1-releaseandroid10-qpr3-releaseandroid10-qpr2-s4-releaseandroid10-qpr2-s3-releaseandroid10-qpr2-s2-releaseandroid10-qpr2-s1-releaseandroid10-qpr2-releaseandroid10-qpr1-mainline-releaseandroid10-mainline-resolv-releaseandroid10-mainline-networking-releaseandroid10-mainline-media-releaseandroid10-d4-s1-releaseandroid10-d4-release
Bug: 137306913
Test: bulid, flash, boot
Change-Id: Id9b0969159508e223b54e51a138ac4b97c46841c
6 files changed, 210 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values-mcc312-mnc670/config.xml b/overlay/frameworks/base/core/res/res/values-mcc312-mnc670/config.xml new file mode 100644 index 00000000..a4f9b34a --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values-mcc312-mnc670/config.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 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. +*/ +--> + +<!-- These resources are around just to allow their values to be customized + for different hardware and product builds. --> +<resources> + <!-- Entitlement APP provisioning for Tethering --> + <string-array translatable="false" name="config_mobile_hotspot_provision_app"> + <item>com.google.android.tetheringentitlement</item> + <item>com.google.android.tetheringentitlement.CarrierEntitlementActivity</item> + </string-array> + <string translatable="false" name="config_mobile_hotspot_provision_app_no_ui"> + com.google.android.carrierentitlement.SILENT_ENTITLEMENT_CHECK + </string> + <string translatable="false" name="config_mobile_hotspot_provision_response"> + com.google.android.carrierentitlement.SILENT_ENTITLEMENT_CHECK_RESULT + </string> + +</resources> diff --git a/overlay/frameworks/base/core/res/res/values-mcc313-mnc100/config.xml b/overlay/frameworks/base/core/res/res/values-mcc313-mnc100/config.xml new file mode 100644 index 00000000..a4f9b34a --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values-mcc313-mnc100/config.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 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. +*/ +--> + +<!-- These resources are around just to allow their values to be customized + for different hardware and product builds. --> +<resources> + <!-- Entitlement APP provisioning for Tethering --> + <string-array translatable="false" name="config_mobile_hotspot_provision_app"> + <item>com.google.android.tetheringentitlement</item> + <item>com.google.android.tetheringentitlement.CarrierEntitlementActivity</item> + </string-array> + <string translatable="false" name="config_mobile_hotspot_provision_app_no_ui"> + com.google.android.carrierentitlement.SILENT_ENTITLEMENT_CHECK + </string> + <string translatable="false" name="config_mobile_hotspot_provision_response"> + com.google.android.carrierentitlement.SILENT_ENTITLEMENT_CHECK_RESULT + </string> + +</resources> diff --git a/overlay/frameworks/base/core/res/res/values-mcc313-mnc110/config.xml b/overlay/frameworks/base/core/res/res/values-mcc313-mnc110/config.xml new file mode 100644 index 00000000..a4f9b34a --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values-mcc313-mnc110/config.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 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. +*/ +--> + +<!-- These resources are around just to allow their values to be customized + for different hardware and product builds. --> +<resources> + <!-- Entitlement APP provisioning for Tethering --> + <string-array translatable="false" name="config_mobile_hotspot_provision_app"> + <item>com.google.android.tetheringentitlement</item> + <item>com.google.android.tetheringentitlement.CarrierEntitlementActivity</item> + </string-array> + <string translatable="false" name="config_mobile_hotspot_provision_app_no_ui"> + com.google.android.carrierentitlement.SILENT_ENTITLEMENT_CHECK + </string> + <string translatable="false" name="config_mobile_hotspot_provision_response"> + com.google.android.carrierentitlement.SILENT_ENTITLEMENT_CHECK_RESULT + </string> + +</resources> diff --git a/overlay/frameworks/base/core/res/res/values-mcc313-mnc120/config.xml b/overlay/frameworks/base/core/res/res/values-mcc313-mnc120/config.xml new file mode 100644 index 00000000..a4f9b34a --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values-mcc313-mnc120/config.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 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. +*/ +--> + +<!-- These resources are around just to allow their values to be customized + for different hardware and product builds. --> +<resources> + <!-- Entitlement APP provisioning for Tethering --> + <string-array translatable="false" name="config_mobile_hotspot_provision_app"> + <item>com.google.android.tetheringentitlement</item> + <item>com.google.android.tetheringentitlement.CarrierEntitlementActivity</item> + </string-array> + <string translatable="false" name="config_mobile_hotspot_provision_app_no_ui"> + com.google.android.carrierentitlement.SILENT_ENTITLEMENT_CHECK + </string> + <string translatable="false" name="config_mobile_hotspot_provision_response"> + com.google.android.carrierentitlement.SILENT_ENTITLEMENT_CHECK_RESULT + </string> + +</resources> diff --git a/overlay/frameworks/base/core/res/res/values-mcc313-mnc130/config.xml b/overlay/frameworks/base/core/res/res/values-mcc313-mnc130/config.xml new file mode 100644 index 00000000..a4f9b34a --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values-mcc313-mnc130/config.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 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. +*/ +--> + +<!-- These resources are around just to allow their values to be customized + for different hardware and product builds. --> +<resources> + <!-- Entitlement APP provisioning for Tethering --> + <string-array translatable="false" name="config_mobile_hotspot_provision_app"> + <item>com.google.android.tetheringentitlement</item> + <item>com.google.android.tetheringentitlement.CarrierEntitlementActivity</item> + </string-array> + <string translatable="false" name="config_mobile_hotspot_provision_app_no_ui"> + com.google.android.carrierentitlement.SILENT_ENTITLEMENT_CHECK + </string> + <string translatable="false" name="config_mobile_hotspot_provision_response"> + com.google.android.carrierentitlement.SILENT_ENTITLEMENT_CHECK_RESULT + </string> + +</resources> diff --git a/overlay/frameworks/base/core/res/res/values-mcc313-mnc140/config.xml b/overlay/frameworks/base/core/res/res/values-mcc313-mnc140/config.xml new file mode 100644 index 00000000..a4f9b34a --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values-mcc313-mnc140/config.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 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. +*/ +--> + +<!-- These resources are around just to allow their values to be customized + for different hardware and product builds. --> +<resources> + <!-- Entitlement APP provisioning for Tethering --> + <string-array translatable="false" name="config_mobile_hotspot_provision_app"> + <item>com.google.android.tetheringentitlement</item> + <item>com.google.android.tetheringentitlement.CarrierEntitlementActivity</item> + </string-array> + <string translatable="false" name="config_mobile_hotspot_provision_app_no_ui"> + com.google.android.carrierentitlement.SILENT_ENTITLEMENT_CHECK + </string> + <string translatable="false" name="config_mobile_hotspot_provision_response"> + com.google.android.carrierentitlement.SILENT_ENTITLEMENT_CHECK_RESULT + </string> + +</resources> |