OSDN Git Service

WFC roaming mode setting can not be used with a fixed value
authorKitta Koutarou <koutarou.x.kitta@sonymobile.com>
Thu, 14 Feb 2019 10:16:40 +0000 (19:16 +0900)
committerBrad Ebinger <breadley@google.com>
Wed, 6 Mar 2019 17:49:25 +0000 (09:49 -0800)
commit994d27a2a5be97db82f7a71f9c6d3eb58eeb00d2
tree1d9bd6c80c76f6cadd32a8d5e6adc9eb5f879df0
parent68c7aad725f1aeb37a7b4de5accdbc725d72c131
WFC roaming mode setting can not be used with a fixed value

WFC roaming mode setting can not be used with a fixed value because it
is changed as WFC home mode changes if
KEY_EDITABLE_WFC_ROAMING_MODE_BOOL is false.

To solve this issue, separate the WFC mode setting of home and roaming.
These can switch behavior by new carrier config
KEY_USE_WFC_HOME_NETWORK_MODE_IN_ROAMING_NETWORK_BOOL.

Test: manual - Checked that WFC roaming mode is hidden if new config is
true.
Test: manual - Checked that WFC roaming mode is also changed when
change the WFC home mode if new config is true.
Test: auto - Passed WifiCallingSettingsForSubTest.
Bug: 79666081

Change-Id: Ib2363c5d50f5231cc89f287d760ca8728b02b249
src/com/android/settings/wifi/calling/WifiCallingSettingsForSub.java
tests/robotests/src/com/android/settings/wifi/calling/WifiCallingSettingsForSubTest.java