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 23:38:11 +0000 (23:38 +0000)
commit478e1232a090a0607857e1bc6475a62a5242e671
treef2b26d2571409c07d758549b0e334007af1fa83a
parent64bf0a791eb1e74a00d06c83900f3959370dcb3b
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

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