mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 828089 - [B2G][Settings][Cellular & Data][Network Operator] Unable to disconnect from existing network operator and connect to a new one. r=vicamo
This commit is contained in:
parent
647ada58de
commit
c9c7c649cc
@ -1470,7 +1470,11 @@ let RIL = {
|
||||
debug("Setting manual network selection: " + options.mcc + options.mnc);
|
||||
}
|
||||
|
||||
let numeric = String(options.mcc) + options.mnc;
|
||||
// TODO: Bug 828307 - B2G RIL: Change to store MNC/MCC values from integer to string
|
||||
let mnc = options.mnc.toString();
|
||||
if (mnc.length == 1)
|
||||
mnc = "0" + mnc;
|
||||
let numeric = options.mcc.toString() + mnc;
|
||||
Buf.newParcel(REQUEST_SET_NETWORK_SELECTION_MANUAL, options);
|
||||
Buf.writeString(numeric);
|
||||
Buf.sendParcel();
|
||||
|
Loading…
Reference in New Issue
Block a user