title: Disable badge for Notifications generated by calling startForgeground()
body: <p>I have been facing issues with the notification badge when starting our foreground service on
  android 8 and above devices. I even tried disabling the badge using the Notification channel object but still, the issue persists. we are using below code block.</p>
  <pre><code>@RequiresApi(api = Build.VERSION_CODES.O)
  private void startMyOwnForeground() {
      Log.d(&quot;ForegroundService&quot;, &quot;inside startmyownforeground&quot;);
      String NOTIFICATION_CHANNEL_ID = &quot;custom_ID&quot;;
      String channelName = &quot;NOTIFICATION CHANNEL&quot;;
      NotificationChannel chan = new NotificationChannel(NOTIFICATION_CHANNEL_ID, channelName, NotificationManager.IMPORTANCE_NONE);
      NotificationManager manager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
      assert manager != null;
      chan.setShowBadge(false);
       Log.d(&quot;Notification::&quot;, &quot;From Foreground Service.&quot;);
      manager.createNotificationChannel(chan);
  
      Notification.Builder notificationBuilder = new Notification.Builder(this, NOTIFICATION_CHANNEL_ID);
      Log.d(&quot;Foregroundservice&quot;,&quot;log for cheking notif title&quot;);
      Notification notification = notificationBuilder.setOngoing(true)
              .setSmallIcon(getIconResId())
              .setContentTitle(NOTIFICATION_TEXT)
              .setContentText(NOTIFICATION_TEXT)
              .setTicker(NOTIFICATION_TEXT)
              .build();
      startForeground(NOTIFICATION_ID, notification);
      Log.d(&quot;ForegroundService&quot;,&quot;end of startMyOwnForeground&quot;);
  }
  </code></pre>