fix(Android): Wrong icon on push reply fail (#5055)

This commit is contained in:
Diego Mello 2023-05-10 14:28:14 -03:00 committed by GitHub
parent fcc6f09875
commit 53ee79799a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ public class ReplyBroadcast extends BroadcastReceiver {
final Resources res = mContext.getResources();
String packageName = mContext.getPackageName();
int smallIconResId = res.getIdentifier("ic_notification", "mipmap", packageName);
int smallIconResId = res.getIdentifier("ic_notification", "drawable", packageName);
NotificationChannel channel = new NotificationChannel(CHANNEL_ID, CHANNEL_ID, NotificationManager.IMPORTANCE_LOW);
notificationManager.createNotificationChannel(channel);