Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #27808 from mpizza/Bug_1126677
Browse files Browse the repository at this point in the history
Bug 1126677 - [FFOS2.0][Woodduck]No IMSI detach prodecure when power off
  • Loading branch information
seinlin committed Feb 4, 2015
2 parents d2010ca + e6605f5 commit 68bc0bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/system/js/sleep_menu.js
Expand Up @@ -429,7 +429,9 @@
*/
_actualPowerOff: function sm_actualPowerOff(isReboot) {
var power = navigator.mozPower;

if (window.Radio) {
window.Radio.enabled = false;
}
if (isReboot) {
power.reboot();
} else {
Expand Down

0 comments on commit 68bc0bf

Please sign in to comment.