summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2015-07-16 17:28:23 -0700
committerRobert Greenwalt <rgreenwalt@google.com>2015-07-16 17:28:23 -0700
commit906efe8f7ef076abed1320de9778a112c3bf1c15 (patch)
tree094cf538863bfae52fb8f3183142a8954bb83725 /core
parent1181323230478e3027bbabbbaf769dcd4a11a0e4 (diff)
downloadframeworks_base-906efe8f7ef076abed1320de9778a112c3bf1c15.zip
frameworks_base-906efe8f7ef076abed1320de9778a112c3bf1c15.tar.gz
frameworks_base-906efe8f7ef076abed1320de9778a112c3bf1c15.tar.bz2
Support optional modem restart on certain errors.
bug:22455853 Change-Id: I5fc2f0080e581dd050b0422ff4ab56e86e57d522
Diffstat (limited to 'core')
-rwxr-xr-xcore/res/res/values/config.xml8
-rwxr-xr-xcore/res/res/values/symbols.xml2
2 files changed, 10 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 82eb2c4..1107f5f 100755
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -2264,4 +2264,12 @@
<!-- How long history of previous vibrations should be kept for the dumpsys. -->
<integer name="config_previousVibrationsDumpLimit">20</integer>
+
+ <!-- Number of retries Cell Data should attempt for a given error code before
+ restarting the modem.
+ Error codes not listed will not lead to modem restarts.
+ Array of "code#,retry#" -->
+ <string-array name="config_cell_retries_per_error_code">
+ </string-array>
+
</resources>
diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml
index b330423..86b4497 100755
--- a/core/res/res/values/symbols.xml
+++ b/core/res/res/values/symbols.xml
@@ -2312,4 +2312,6 @@
<java-symbol type="bool" name="allow_stacked_button_bar" />
<java-symbol type="bool" name="config_eap_sim_based_auth_supported" />
+
+ <java-symbol type="array" name="config_cell_retries_per_error_code" />
</resources>