summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Wink Saville <wink@google.com> 2014-07-11 07:37:11 -0700
committer Wink Saville <wink@google.com> 2014-07-13 12:43:07 +0000
commit7ab9d759f5b5238b4ee6013f57454ed5d5f4927f (patch)
tree976454ac1212b84cabdea02d99d0858f2eb88fb9
parent391c8323fc6c70b18accc3412d20520bfaf4ea0b (diff)
Telephony: Introduce config item for Hot Swap support
When a Uicc Card is inserted or removed, Android pops up a prompt to the user to reboot the device. This prompt is unnecessary if the modem supports Hot Swapping of cards. Introduce a new config item to indicate if the modem supports hotswapping. Frameworks can then check this before propmting the user. Bug: 12161291 Change-Id: I0f2c3134525aa2301fd667d0a1819f4419eecae0 (cherry picked from commit 5cbf6098c0d4bb830acd6ef45e8a3c1cedfb165c) (cherry picked from commit 067089c6a1a8acc638f563f817dafef9172083f0) (cherry picked from commit fd5d8910922bb16095367d09077e5974422e57ce)
-rw-r--r--core/res/res/values/config.xml3
-rw-r--r--core/res/res/values/symbols.xml1
2 files changed, 4 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 00f49a10233f..53d9cee18de0 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -651,6 +651,9 @@
<!-- Enable translucent decor by default -->
<bool name="config_enableTranslucentDecor">true</bool>
+ <!-- Is the device capable of hot swapping an UICC Card -->
+ <bool name="config_hotswapCapable">false</bool>
+
<!-- Enable puk unlockscreen by default.
If unlock screen is disabled, the puk should be unlocked through Emergency Dialer -->
<bool name="config_enable_puk_unlock_screen">true</bool>
diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml
index cd7394abc1d4..b22155cb0e6e 100644
--- a/core/res/res/values/symbols.xml
+++ b/core/res/res/values/symbols.xml
@@ -252,6 +252,7 @@
<java-symbol type="bool" name="config_duplicate_port_omadm_wappush" />
<java-symbol type="bool" name="config_enable_emergency_call_while_sim_locked" />
<java-symbol type="bool" name="config_enable_puk_unlock_screen" />
+ <java-symbol type="bool" name="config_hotswapCapable" />
<java-symbol type="bool" name="config_mms_content_disposition_support" />
<java-symbol type="bool" name="config_networkSamplingWakesDevice" />
<java-symbol type="bool" name="config_showMenuShortcutsWhenKeyboardPresent" />