public void addDynamicShortcut(ShortcutInfo shortcutInfo) {
    shortcuts.add(shortcutInfo);
    shortcutsChanged(shortcutInfo.getPackage(), Lists.newArrayList(shortcutInfo));
  }
public void addDynamicShortcut(ShortcutInfo shortcutInfo) {
    shortcuts.add(shortcutInfo);
    shortcutsChanged(shortcutInfo.getPackage(), Lists.newArrayList(shortcutInfo));
  }
public void addDynamicShortcut ( ShortcutInfo shortcutInfo ) { shortcuts . add ( shortcutInfo ) ; shortcutsChanged ( shortcutInfo . getPackage ( ) , Lists . newArrayList ( shortcutInfo ) ) ; }
Adds a dynamic shortcut to be returned by {@link #getShortcuts(ShortcutQuery, UserHandle)}.

@param shortcutInfo the shortcut to add.
Adds a dynamic shortcut to be returned by { @link #getShortcuts ( ShortcutQuery UserHandle ) } .