mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 608428 - Replace default icon in desktop notifications. r=blassey a=blocking-fennec
This commit is contained in:
parent
b0812bfdaa
commit
ffa4adf424
@ -131,7 +131,11 @@ nsDOMDesktopNotification::nsDOMDesktopNotification(const nsAString & title,
|
||||
nsIURI* uri)
|
||||
: mTitle(title)
|
||||
, mDescription(description)
|
||||
#ifdef ANDROID
|
||||
, mIconURL((PRUnichar*)L"drawable://desktop_notification")
|
||||
#else
|
||||
, mIconURL(iconURL)
|
||||
#endif
|
||||
, mURI(uri)
|
||||
{
|
||||
mOwner = aWindow;
|
||||
|
@ -110,6 +110,8 @@ MOZ_ANDROID_DRAWABLES += embedding/android/resources/drawable/crash_reporter.png
|
||||
RES_LAYOUT += res/layout/crash_reporter.xml
|
||||
endif
|
||||
|
||||
MOZ_ANDROID_DRAWABLES += embedding/android/resources/drawable/desktop_notification.png
|
||||
|
||||
MOZ_ANDROID_DRAWABLES += $(shell if test -e $(topsrcdir)/$(MOZ_BRANDING_DIRECTORY)/android-resources.mn; then cat $(topsrcdir)/$(MOZ_BRANDING_DIRECTORY)/android-resources.mn | tr '\n' ' '; fi)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
BIN
embedding/android/resources/drawable/desktop_notification.png
Normal file
BIN
embedding/android/resources/drawable/desktop_notification.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
Loading…
Reference in New Issue
Block a user