зеркало из https://github.com/mozilla/gecko-dev.git
Bug 813042 - Part1: Add Ril quirk for REQUEST_STK_SEND_PROFILE. r=yoshi
This commit is contained in:
Родитель
81bc7b7056
Коммит
6248dd10c0
|
@ -86,6 +86,9 @@ let RILQUIRKS_EXTRA_UINT32_2ND_CALL = libcutils.property_get("ro.moz.ril.extra_i
|
|||
// On the emulator we support querying the number of lock retries
|
||||
let RILQUIRKS_HAVE_QUERY_ICC_LOCK_RETRY_COUNT = libcutils.property_get("ro.moz.ril.query_icc_count", "false") == "true";
|
||||
|
||||
// Ril quirk to Send STK Profile Download
|
||||
let RILQUIRKS_SEND_STK_PROFILE_DOWNLOAD = libcutils.property_get("ro.moz.ril.send_stk_profile_dl", "false") == "true";
|
||||
|
||||
// Marker object.
|
||||
let PENDING_NETWORK_TYPE = {};
|
||||
|
||||
|
@ -3014,10 +3017,14 @@ let RIL = {
|
|||
ICCRecordHelper.readICCPhase();
|
||||
ICCRecordHelper.fetchICCRecords();
|
||||
} else if (this.appType == CARD_APPTYPE_USIM) {
|
||||
this.sendStkTerminalProfile(STK_SUPPORTED_TERMINAL_PROFILE);
|
||||
if (RILQUIRKS_SEND_STK_PROFILE_DOWNLOAD) {
|
||||
this.sendStkTerminalProfile(STK_SUPPORTED_TERMINAL_PROFILE);
|
||||
}
|
||||
ICCRecordHelper.fetchICCRecords();
|
||||
} else if (this.appType == CARD_APPTYPE_RUIM) {
|
||||
this.sendStkTerminalProfile(STK_SUPPORTED_TERMINAL_PROFILE);
|
||||
if (RILQUIRKS_SEND_STK_PROFILE_DOWNLOAD) {
|
||||
this.sendStkTerminalProfile(STK_SUPPORTED_TERMINAL_PROFILE);
|
||||
}
|
||||
RuimRecordHelper.fetchRuimRecords();
|
||||
}
|
||||
this.reportStkServiceIsRunning();
|
||||
|
@ -11026,7 +11033,8 @@ let ICCRecordHelper = {
|
|||
let phase = GsmPDUHelper.readHexOctet();
|
||||
// If EF_phase is coded '03' or greater, an ME supporting STK shall
|
||||
// perform the PROFILE DOWNLOAD procedure.
|
||||
if (phase >= ICC_PHASE_2_PROFILE_DOWNLOAD_REQUIRED) {
|
||||
if (RILQUIRKS_SEND_STK_PROFILE_DOWNLOAD &&
|
||||
phase >= ICC_PHASE_2_PROFILE_DOWNLOAD_REQUIRED) {
|
||||
RIL.sendStkTerminalProfile(STK_SUPPORTED_TERMINAL_PROFILE);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче