Fix issue that user can't edit WFC mode for SIM2
User can't edit WFC mode for SIM2 even if KEY_EDITABLE_WFC_MODE_BOOL for SIM2 is true. Because WifiCallingSettingsForSub uses subId from PhoneStateListener. But subId of PhoneStateListener is always default subId. So, it gets wrong carrier config values. To fix the problem, WifiCallingSettingsForSub uses its subId. Bug: 117193148 Test: manual - Checked that WFC preference enable/disable state change according to the current SIM Change-Id: I6c8f5c1009c118ae9ca9b6e690d18e11600705eb
Loading
Please register or sign in to comment