diff --git a/apps/system/js/icc_worker.js b/apps/system/js/icc_worker.js index 2df0c988eb47..cb6966ca5f74 100755 --- a/apps/system/js/icc_worker.js +++ b/apps/system/js/icc_worker.js @@ -251,9 +251,15 @@ var icc_worker = { } if (options.responseNeeded) { - icc.responseSTKCommand(message, { - resultCode: icc._iccManager.STK_RESULT_OK - }); + if (options.iconSelfExplanatory || options.icons) { + icc.responseSTKCommand(message, { + resultCode: icc._iccManager.STK_RESULT_PRFRMD_ICON_NOT_DISPLAYED + }); + } else { + icc.responseSTKCommand(message, { + resultCode: icc._iccManager.STK_RESULT_OK + }); + } icc.confirm(message, options.text, timeout, null); } else { icc.confirm(message, options.text, timeout, @@ -270,9 +276,15 @@ var icc_worker = { }); } else { DUMP('Alert closed'); - icc.responseSTKCommand(message, { - resultCode: icc._iccManager.STK_RESULT_OK - }); + if (options.iconSelfExplanatory || options.icons) { + icc.responseSTKCommand(message, { + resultCode: icc._iccManager.STK_RESULT_PRFRMD_ICON_NOT_DISPLAYED + }); + } else { + icc.responseSTKCommand(message, { + resultCode: icc._iccManager.STK_RESULT_OK + }); + } } }); }