|
|
@@ -100,7 +100,8 @@ public class FirebasePushService extends FirebaseMessagingService {
|
|
|
// Also if you intend on generating your own notifications as a result of a received FCM
|
|
|
// message, here is where that should be initiated. See sendNotification method below.
|
|
|
}
|
|
|
-// /**
|
|
|
+
|
|
|
+ // /**
|
|
|
// * Create and show a simple notification containing the received FCM message.
|
|
|
// *
|
|
|
// * @param messageBody FCM message body received.
|
|
|
@@ -115,7 +116,7 @@ public class FirebasePushService extends FirebaseMessagingService {
|
|
|
Uri defaultSoundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
|
|
|
NotificationCompat.Builder notificationBuilder =
|
|
|
new NotificationCompat.Builder(this, channelId)
|
|
|
- .setLargeIcon(BitmapFactory.decodeResource(getResources(), android.R.drawable.ic_dialog_info))
|
|
|
+ .setLargeIcon(BitmapFactory.decodeResource(getResources(), android.R.drawable.ic_dialog_info))
|
|
|
.setSmallIcon(R.mipmap.ic_launcher)
|
|
|
.setContentTitle(title)
|
|
|
.setContentText(messageBody)
|