Closed Bug 818148 Opened 8 years ago Closed 8 years ago

Use a system message when the application is closed

Categories

(Firefox OS Graveyard :: General, defect, P1)

defect

Tracking

(blocking-basecamp:+, firefox18 fixed, firefox19 fixed, firefox20 fixed)

RESOLVED FIXED
B2G C2 (20nov-10dec)
blocking-basecamp +
Tracking Status
firefox18 --- fixed
firefox19 --- fixed
firefox20 --- fixed

People

(Reporter: vingtetun, Assigned: vingtetun)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
+++ This bug was initially created as a clone of Bug #814074 +++

When an application use the desktop notification API but is closed (because of an OOM or by a user action) the notification stays and clicking on it does nothing.

This affects the dialer and soon the sms application.

This patch use the support provided by bug 778668 to know what is the source of the notification and use system message to open it if needed, sending the title/text of the notification to the application in order to let it reposition the UI to the right state.



This is a followup of the previous bug since it seems that the patch does not work as expected in some cases.
Attachment #688334 - Flags: review?(fabrice)
Attachment #688334 - Flags: review?(fabrice) → review+
https://hg.mozilla.org/mozilla-central/rev/e92d9397612e
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.