Closed Bug 1121814 Opened 9 years ago Closed 9 years ago

[Stingray][smart-system] use latest NotificationHelper to show notification


(Firefox OS Graveyard :: Gaia, defect)

Not set


(Not tracked)



(Reporter: johnhu, Assigned: rohan1395)




(1 file)

46 bytes, text/x-github-pull-request
: review+
Details | Review

This is fortunately not true.

1) bluetooth seems to be using old NotificationHelper. It should be synced with the one from shared, which returns a Promise and support L10n API properly.

2) tv_apps/smart-system/js/captive_portal.js, tv_apps/smart-system/js/screenshot.js and tv_apps/smart-system/js/devtools/logshake.js should use the new NotificationHelper instead of raw W3C Notification.

3) Same for tv_apps/smart-system/js/external_storage_monitor.js
Assignee: nobody → im
I had created a WIP 11 days ago:

Because I got the high priority works recently, I cannot work on it. If someone want to take it, please steal the bug. I will be back once those works done.
Attached file Gaia PR
Attachment #8557449 - Flags: review?(timdream)
Attachment #8557449 - Flags: review?(timdream) → review?(im)

Thanks for giving the patch. I reassign this bug to you. And I will review the patch in this week.
Assignee: im → rohan1395
Comment on attachment 8557449 [details] [review]
Gaia PR

Looks good to me. Thank you. I will land the code for you.
Attachment #8557449 - Flags: review?(im) → review+
I was wondering if this also fixed bug 967925 ?
Flags: needinfo?(im)
Well, this is a good question. If you apply the patch to "phone's" system app who is at /apps/system/, it is true that you also fixed bug 967925.

But smart system is for smart screen. So, please find the bug similar to this one and fix it.
Flags: needinfo?(im)
Here is the information about smart screen:
You need to log in before you can comment on or make changes to this bug.