@@ -270,7 +270,7 @@ public class FCMBaseMessagingService extends FirebaseMessagingService {
notification_build_with_largeicon.flags=Notification.FLAG_AUTO_CANCEL;//notification with only large icon due to the two build notificaition is not canceled from bar
notification_build_with_largeicon.flags=Notification.FLAG_AUTO_CANCEL;//notification with only large icon due to the two build notificaition is not canceled from bar
if(nm!=null){
...
...
@@ -296,58 +296,6 @@ public class FCMBaseMessagingService extends FirebaseMessagingService {
}
/*
public void showNotification(Context context, String title, String ticker,
String message, Intent newIntent, String tag, int id) {
SecureRandom randomGenerator = new SecureRandom();
int uid = randomGenerator.nextInt(1000);
WarpUtils.log("Showing notification with tag: " + tag + " and id: "
+ id);
NotificationCompat.Builder builder = new NotificationCompat.Builder(
context);
int imageResource;
int colorResource = 0;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
@@ -316,7 +316,7 @@ public class HMSBaseMessagingService extends HmsMessageService {
notification_build_with_largeicon.flags=Notification.FLAG_AUTO_CANCEL;//notification with only large icon due to the two build notificaition is not canceled from bar
notification_build_with_largeicon.flags=Notification.FLAG_AUTO_CANCEL;//notification with only large icon due to the two build notificaition is not canceled from bar