зеркало из https://github.com/mozilla/gecko-dev.git
Bug 949318 - B2G SMS: Class 2 SMS is not working after ICCRecordHelper.readSMS() was refactored into SimRecordHelper. r=vyang
This commit is contained in:
Родитель
8fa7a3a3c3
Коммит
9212f60183
|
@ -6168,7 +6168,7 @@ RIL[UNSOLICITED_RESPONSE_NEW_SMS_STATUS_REPORT] = function UNSOLICITED_RESPONSE_
|
|||
RIL[UNSOLICITED_RESPONSE_NEW_SMS_ON_SIM] = function UNSOLICITED_RESPONSE_NEW_SMS_ON_SIM(length) {
|
||||
let recordNumber = Buf.readInt32List()[0];
|
||||
|
||||
ICCRecordHelper.readSMS(
|
||||
SimRecordHelper.readSMS(
|
||||
recordNumber,
|
||||
function onsuccess(message) {
|
||||
if (message && message.simStatus === 3) { //New Unread SMS
|
||||
|
|
Загрузка…
Ссылка в новой задаче