content: package com.alium.orin.appshortcuts.shortcuttype;
  
  import android.annotation.TargetApi;
  import android.content.Context;
  import android.content.pm.ShortcutInfo;
  import android.os.Build;
  
  import com.alium.orin.appshortcuts.AppShortcutIconGenerator;
  import com.alium.orin.appshortcuts.AppShortcutLauncherActivity;
  import com.alium.orin.R;
  
  /**
   * @author Adrian Campos
   */
  @TargetApi(Build.VERSION_CODES.N_MR1)
  public final class ShuffleAllShortcutType extends BaseShortcutType {
      public ShuffleAllShortcutType(Context context) {
          super(context);
      }
  
      public static String getId() {
          return ID_PREFIX + "shuffle_all";
      }
  
      public ShortcutInfo getShortcutInfo() {
          return new ShortcutInfo.Builder(context, getId())
                  .setShortLabel(context.getString(R.string.app_shortcut_shuffle_all_short))
                  .setLongLabel(context.getString(R.string.app_shortcut_shuffle_all_long))
                  .setIcon(AppShortcutIconGenerator.generateThemedIcon(context, R.drawable.ic_app_shortcut_shuffle_all))
                  .setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.SHORTCUT_TYPE_SHUFFLE_ALL))
                  .build();
      }
  }
  