Skip to content

Commit

Permalink
Merge pull request mozilla-b2g#6843 from albertopq/dialer-818354
Browse files Browse the repository at this point in the history
Bug 818354 - Disabling home button on locked screen while calling
  • Loading branch information
albertopq committed Dec 6, 2012
2 parents 2b436ac + e1a82c5 commit ce6d344
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/system/js/attention_screen.js
Expand Up @@ -232,7 +232,9 @@ var AttentionScreen = {
// shrink the attention screen overlay to status bar // shrink the attention screen overlay to status bar
// invoked when we get a "home" event // invoked when we get a "home" event
hide: function as_hide() { hide: function as_hide() {
if (!this.isFullyVisible()) // Doing nothing if the screen is already hiden
// or in the lockscreen
if (!this.isFullyVisible() || LockScreen.locked)
return; return;


this.dispatchEvent('status-active'); this.dispatchEvent('status-active');
Expand Down

0 comments on commit ce6d344

Please sign in to comment.