Permalink
Browse files

Merge pull request #6843 from albertopq/dialer-818354

Bug 818354 - Disabling home button on locked screen while calling
  • Loading branch information...
albertopq committed Dec 6, 2012
2 parents 2b436ac + e1a82c5 commit ce6d3440a119e0e4e4354eb5332f1e3d51c4b855
Showing with 3 additions and 1 deletion.
  1. +3 −1 apps/system/js/attention_screen.js
@@ -232,7 +232,9 @@ var AttentionScreen = {
// shrink the attention screen overlay to status bar
// invoked when we get a "home" event
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;
this.dispatchEvent('status-active');

0 comments on commit ce6d344

Please sign in to comment.