List of usage examples for android.content.pm ShortcutInfo getLongLabel
@Nullable
public CharSequence getLongLabel()
From source file:com.farmerbb.taskbar.activity.ContextMenuActivity.java
@TargetApi(Build.VERSION_CODES.N_MR1) private CharSequence getShortcutTitle(ShortcutInfo shortcut) { CharSequence longLabel = shortcut.getLongLabel(); if (longLabel != null && longLabel.length() > 0 && longLabel.length() <= 20) return longLabel; else// w w w .j a va2 s .c om return shortcut.getShortLabel(); }