Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug 818354 - Disabling home button on locked screen while calling

Fixing comments
  • Loading branch information...
commit e1a82c59fe8d816c80672c441d143a5c937d3d40 1 parent 2b436ac
@albertopq albertopq authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 apps/system/js/attention_screen.js
View
4 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');
Please sign in to comment.
Something went wrong with that request. Please try again.