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

Bug 929895 - Blacklist some apps of notifications removal #13691

Merged
merged 1 commit into from Nov 15, 2013

Conversation

lissyx
Copy link
Contributor

@lissyx lissyx commented Nov 14, 2013

Until bug 890440 is addressed, the system app clears all notifications
related to an application when it is launched/displayed. This is not
what we want for a couple of applications. We add a temporary hack to
blacklist those, thus avoiding to clear notifications.

@@ -146,10 +146,19 @@ var NotificationScreen = {
}
},

// TODO: Workaround for bug 929895 until bug 890440 is addressed
clearBlacklist: ['app://wappush.gaiamobile.org/manifest.webapp'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: use window.location.protocol instead of app://

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure to understand ? As far as I read, the Gecko event that we get only contains a manifestURL.

Until bug 890440 is addressed, the system app clears all notifications
related to an application when it is launched/displayed. This is not
what we want for a couple of applications. We add a temporary hack to
blacklist those, thus avoiding to clear notifications.
@lissyx
Copy link
Contributor Author

lissyx commented Nov 15, 2013

Travis is mostly green, only red is an unrelated failure.

lissyx added a commit that referenced this pull request Nov 15, 2013
Bug 929895 - Blacklist some apps of notifications removal r=alive
@lissyx lissyx merged commit f7f616c into mozilla-b2g:master Nov 15, 2013
lissyx added a commit that referenced this pull request Nov 21, 2013
Bug 929895 - Blacklist some apps of notifications removal r=alive
(cherry picked from commit f7f616c)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants