mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1008557 - setUiccSubscription when the RadioState is ready. r=htsai
This commit is contained in:
parent
317e98ac11
commit
0b2255edde
@ -3359,7 +3359,14 @@ RilObject.prototype = {
|
||||
iccStatus.gsmUmtsSubscriptionAppIndex;
|
||||
|
||||
if (RILQUIRKS_SUBSCRIPTION_CONTROL && index === -1) {
|
||||
// Should enable uicc scription.
|
||||
// Should enable uicc scription if index is not valid.
|
||||
if (this.radioState !== GECKO_RADIOSTATE_READY) {
|
||||
// Note: setUiccSubscription works abnormally when RADIO is OFF,
|
||||
// which causes SMS function broken in Flame.
|
||||
// See bug 1008557 for detailed info.
|
||||
return;
|
||||
}
|
||||
|
||||
for (let i = 0; i < iccStatus.apps.length; i++) {
|
||||
this.setUiccSubscription({appIndex: i, enabled: true});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user