diff options
author | Hu Wang <huw@codeaurora.org> | 2018-02-02 15:18:00 +0800 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2019-12-11 19:52:32 +0200 |
commit | 2733dfadab962dc912ed2d33127e2995399c7bc6 (patch) | |
tree | d02729f24561dbea63d2e25ef7c58a10d6a0bf8e /libwifi_hal/hal_tool.cpp | |
parent | d52a7f8504ed4b732c90448067ba4de7281acddb (diff) | |
download | android_frameworks_opt_net_wifi-staging/lineage-17.0_merge-android-10.0.0_r9.tar.gz android_frameworks_opt_net_wifi-staging/lineage-17.0_merge-android-10.0.0_r9.tar.bz2 android_frameworks_opt_net_wifi-staging/lineage-17.0_merge-android-10.0.0_r9.zip |
wifi: Not reset country code for Dual SIM if any slot is activestaging/lineage-17.0_merge-android-10.0.0_r9
WifiService accepts country code from mccTable, and if one slot
is absent, telephony broadcasts the SIM STATE CHANGED event with
absent state, and based which WifiSerive resets the country code.
This works for single SIM. But for Dual SIM, if one slot is active
and another is absent, telephony broadcasts two SIM STATE CHANGED
events. As the latter one is with absent state, WifiService resets
the country code.
In Dual SIM case, Add check that if any slot is active, WifiService
shall not reset country code.
Change-Id: Icf41d8f4c93616d64796874c55caa39b590d7718
CRs-fixed: 2181365
Diffstat (limited to 'libwifi_hal/hal_tool.cpp')
0 files changed, 0 insertions, 0 deletions