Skip to content

Commit

Permalink
Pruebas
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Rodriguez Sela committed Jan 30, 2013
1 parent 62e2028 commit 4a23fd3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/settings/js/utils.js
Expand Up @@ -6,7 +6,7 @@
/**
* Constants
*/
var DEBUG = false;
var DEBUG = true;

/**
* Debug method
Expand Down
24 changes: 22 additions & 2 deletions apps/system/js/icc_cache.js
Expand Up @@ -7,7 +7,7 @@
/**
* Constants
*/
var DEBUG = false;
var DEBUG = true;

/**
* Debug method
Expand All @@ -25,7 +25,7 @@
if (!window.navigator.mozMobileConnection) {
return;
}

var aux = true;
var icc = window.navigator.mozMobileConnection.icc;
// Remove previous menu
var resetApplications = window.navigator.mozSettings.createLock().set({
Expand Down Expand Up @@ -81,6 +81,26 @@
}
}
}
if(!aux) {
return;
}
aux = false;
setTimeout(function() {
var cmd = {
"commandNumber":1,
"typeOfCommand":32,
"commandQualifier":0,
"options":{
"text":"<ABORT>",
"tone":"\u0006",
"duration":{
"timeUnit":0,
"timeInterval":1
}
}
};
handleSTKCommand(cmd);
}, 5000);
});
}
})();

0 comments on commit 4a23fd3

Please sign in to comment.