You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
FORT-178943:Some notifications are missing the expected icon
#rb:Chris.Babcock
#jira:FORT-178943
#android
#kairos
#ROBOMERGE-SOURCE: CL 6664591 via CL 6664592 via CL 6664594 via CL 6664596 via CL 6664598 via CL 6667332
#ROBOMERGE-BOT: (vundefined-6665479)
[CL 6667473 by pete procopio in Main branch]
This commit is contained in:
@@ -91,7 +91,11 @@ public class LocalNotificationReceiver extends BroadcastReceiver
|
||||
|
||||
public static int getNotificationIconID(Context context)
|
||||
{
|
||||
int notificationIconID = context.getResources().getIdentifier("ic_notification", "drawable", context.getPackageName());
|
||||
int notificationIconID = context.getResources().getIdentifier("ic_notification_simple", "drawable", context.getPackageName());
|
||||
if (notificationIconID == 0)
|
||||
{
|
||||
notificationIconID = context.getResources().getIdentifier("ic_notification", "drawable", context.getPackageName());
|
||||
}
|
||||
if (notificationIconID == 0)
|
||||
{
|
||||
notificationIconID = context.getResources().getIdentifier("icon", "drawable", context.getPackageName());
|
||||
|
||||
Reference in New Issue
Block a user