title: How to remove the badge in app shortcut icon?
body: <p><a href="https://i.stack.imgur.com/qhfx0.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qhfx0.jpg" alt="enter image description here"></a>How to remove the badge in app shortcut icon in android? When i create app shortcut programmatically, along with the icon specified for shortcut, app icon comes at the bottom-right corner of the icon. I don't want that badge.</p>
  
  <p>Here is the code I used</p>
  
  <pre><code>    public static void addShortcutToHomeScreen(Context context)
  {
      if (ShortcutManagerCompat.isRequestPinShortcutSupported(context))
      {
          ShortcutInfoCompat shortcutInfo = new ShortcutInfoCompat.Builder(context, "#1")
                  .setIntent(new Intent(context, Splash.class).setAction(Intent.ACTION_MAIN)) // !!! intent's action must be set on oreo
                  .setShortLabel("Test")
                  .setIcon(IconCompat.createWithResource(context, R.drawable.logo))
                  .build();
          ShortcutManagerCompat.requestPinShortcut(context, shortcutInfo, null);
      }
      else
      {
          // Shortcut is not supported by your launcher
      }
  }
  </code></pre>