Skip to content

Commit

Permalink
STK DSDS: Registering icc-stkcommand system message earlier. See http…
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Rodriguez Sela committed Feb 25, 2014
1 parent 32274ee commit 85ece8e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/system/js/icc.js
Expand Up @@ -11,9 +11,6 @@ var icc = {

init: function icc_init() {
this._iccManager = window.navigator.mozIccManager;
this.hideViews();
this.protectForms();
this.getIccInfo();
var self = this;
this.clearMenuCache(function() {
window.navigator.mozSetMessageHandler('icc-stkcommand',
Expand All @@ -24,6 +21,10 @@ var icc = {
});
});

this.hideViews();
this.protectForms();
this.getIccInfo();

var self = this;
// Update displayTextTimeout with settings parameter
var reqDisplayTimeout = window.navigator.mozSettings.createLock().get(
Expand Down

0 comments on commit 85ece8e

Please sign in to comment.