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

Commit 2918c47c authored by Sukanya Rajkhowa's avatar Sukanya Rajkhowa Committed by Linux Build Service Account
Browse files

Make data call errors configurable

Retry requirements of carriers for ACTIVATION_REJECT_GGSN and
PROTOCOL_ERRORS may be different and should be made configurable
CRs-Fixed: 650922

Telephony:Add config item for regular deactivation
- Default AOSP implementation is to restart the radio for PDP
error cause = 36-Regular deactivation.
- Add xml based option to disable this implementation and treat
error=36 as temp failure

Conflicts:
core/res/res/values/symbols.xml
Change-Id: I9b9e1c808ea66bf35407f6ddca0e1276c8883beb
parent 022206e5
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -17,6 +17,8 @@
*/
*/
-->
-->


<!-- 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">
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">


    <!-- CDMA home system id for Verizon -->
    <!-- CDMA home system id for Verizon -->
@@ -34,4 +36,12 @@
    </string-array>
    </string-array>


    <bool name="config_auto_attach_data_on_creation">false</bool>
    <bool name="config_auto_attach_data_on_creation">false</bool>

    <!-- 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>
</resources>
+33 −0
Original line number Original line 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 Original line 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>
+8 −0
Original line number Original line Diff line number Diff line
@@ -49,4 +49,12 @@
        <item>"*611:+19085594899,"</item>
        <item>"*611:+19085594899,"</item>
        <item>"*86:+1MDN,"</item>
        <item>"*86:+1MDN,"</item>
    </string-array>
    </string-array>

    <!-- 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>
</resources>
+11 −0
Original line number Original line Diff line number Diff line
@@ -1887,4 +1887,15 @@


    <!-- Configuartion to support SIM refresh in STK command for dual mode card.-->
    <!-- Configuartion to support SIM refresh in STK command for dual mode card.-->
    <bool name="config_sim_refresh_for_dual_mode_card">true</bool>
    <bool name="config_sim_refresh_for_dual_mode_card">true</bool>

    <!-- 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>

    <!-- Configuration to restart radio upon PDP_DEACTIVATE with
         error cause as Regular deactivation(36). -->
    <bool name="config_radio_reset_on_regular_deactivation">true</bool>
</resources>
</resources>
Loading