Skip to content

Commit 996ab39

Browse files
committed
Fix merge
1 parent ebaa8d1 commit 996ab39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

com.unity.mobile.notifications/Runtime/Android/Plugins/com/unity/androidnotifications/UnityNotificationUtilities.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ private static Notification.Builder deserializeNotificationCustom(Context contex
327327
String sortKey = deserializeString(in);
328328
long when = showWhen ? in.readLong() : 0;
329329

330-
Notification.Builder builder = UnityNotificationManager.createNotificationBuilder(context, channelId);
330+
Notification.Builder builder = UnityNotificationManager.getNotificationManagerImpl(context).createNotificationBuilder(channelId);
331331
if (extras != null)
332332
builder.setExtras(extras);
333333
else {
@@ -403,7 +403,7 @@ private static Notification.Builder deserializedFromOldIntent(Context context, b
403403
int groupAlertBehaviour = bundle.getInt("groupAlertBehaviour", -1);
404404
boolean showTimestamp = bundle.getBoolean("showTimestamp", false);
405405

406-
Notification.Builder builder = UnityNotificationManager.createNotificationBuilder(context, channelId);
406+
Notification.Builder builder = UnityNotificationManager.getNotificationManagerImpl(context).createNotificationBuilder(channelId);
407407
builder.getExtras().putInt(KEY_ID, id);
408408
builder.setContentTitle(textTitle);
409409
builder.setContentText(textContent);

0 commit comments

Comments
 (0)