Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4324e6a8 authored by Sukanya Rajkhowa's avatar Sukanya Rajkhowa Committed by Susheel nyamala
Browse files

Make data call errors configurable

Retry requirements of carriers for ACTIVATION_REJECT_GGSN and
PROTOCOL_ERRORS may be different and should be configurable

Change-Id: I9b9e1c808ea66bf35407f6ddca0e1276c8883beb
CRs-Fixed: 650922
parent 4717595f
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright (c) 2014 The Linux Foundation. All rights reserved.
** Not a Contribution.
** Copyright 2009, 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.  Do not translate. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

    <!-- Configuration that determines if ACTIVATE_REJECT_GGSN is to be
         treated as a permanent error -->
    <bool name="config_reject_ggsn_perm_failure">false</bool>
    <!-- Configuration that determines if PROTOCOL_ERRORS is to be treated as
         a permamnent error -->
    <bool name="config_protocol_errors_perm_failure">false</bool>

</resources>
+33 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright (c) 2014 The Linux Foundation. All rights reserved.
** Not a Contribution.
** Copyright 2009, 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.  Do not translate. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

    <!-- Configuration that determines if ACTIVATE_REJECT_GGSN is to be
         treated as a permanent error -->
    <bool name="config_reject_ggsn_perm_failure">false</bool>
    <!-- Configuration that determines if PROTOCOL_ERRORS is to be treated as
         a permamnent error -->
    <bool name="config_protocol_errors_perm_failure">false</bool>

</resources>
+33 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright (c) 2014 The Linux Foundation. All rights reserved.
** Not a Contribution.
** Copyright 2009, 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.  Do not translate. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

    <!-- Configuration that determines if ACTIVATE_REJECT_GGSN is to be
         treated as a permanent error -->
    <bool name="config_reject_ggsn_perm_failure">false</bool>
    <!-- Configuration that determines if PROTOCOL_ERRORS is to be treated as
         a permamnent error -->
    <bool name="config_protocol_errors_perm_failure">false</bool>

</resources>
+33 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright (c) 2014 The Linux Foundation. All rights reserved.
** Not a Contribution.
** Copyright 2009, 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.  Do not translate. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

    <!-- Configuration that determines if ACTIVATE_REJECT_GGSN is to be
         treated as a permanent error -->
    <bool name="config_reject_ggsn_perm_failure">false</bool>
    <!-- Configuration that determines if PROTOCOL_ERRORS is to be treated as
         a permamnent error -->
    <bool name="config_protocol_errors_perm_failure">false</bool>

</resources>
+7 −0
Original line number Diff line number Diff line
@@ -1457,4 +1457,11 @@
    <string name="config_rat_2g" translatable="false">2G</string>
    <string name="config_rat_3g" translatable="false">3G</string>
    <string name="config_rat_4g" translatable="false">4G</string>

    <!-- Configuration that determines if ACTIVATE_REJECT_GGSN is to be treated as
         a permanent error -->
    <bool name="config_reject_ggsn_perm_failure">true</bool>
    <!-- Configuration that determines if PROTOCOL_ERRORS is to be treated as a
         permanent error -->
    <bool name="config_protocol_errors_perm_failure">true</bool>
</resources>
Loading