Adapt names to naming convention
This commit is contained in:
parent
35aaca78ea
commit
d422a05e8d
4 changed files with 12 additions and 12 deletions
|
|
@ -20,8 +20,8 @@ public final class LastAddedShortcutType extends BaseShortcutType {
|
|||
|
||||
public ShortcutInfo getShortcutInfo() {
|
||||
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "last_added")
|
||||
.setShortLabel(mContext.getString(R.string.appshortcut_lastadded_short))
|
||||
.setLongLabel(mContext.getString(R.string.appshortcut_lastadded_long))
|
||||
.setShortLabel(mContext.getString(R.string.app_shortcut_last_added_short))
|
||||
.setLongLabel(mContext.getString(R.string.app_shortcut_last_added_long))
|
||||
.setIcon(Icon.createWithResource(mContext, R.drawable.ic_app_shortcut_last_added))
|
||||
.setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.LAST_ADDED))
|
||||
.build();
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@ public final class ShuffleAllShortcutType extends BaseShortcutType {
|
|||
|
||||
public ShortcutInfo getShortcutInfo() {
|
||||
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "shuffle_all")
|
||||
.setShortLabel(mContext.getString(R.string.appshortcut_shuffleall_short))
|
||||
.setLongLabel(mContext.getString(R.string.appshortcut_shuffleall_long))
|
||||
.setShortLabel(mContext.getString(R.string.app_shortcut_shuffle_all_short))
|
||||
.setLongLabel(mContext.getString(R.string.app_shortcut_shuffle_all_long))
|
||||
.setIcon(Icon.createWithResource(mContext, R.drawable.ic_app_shortcut_shuffle_all))
|
||||
.setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.SHUFFLE_ALL))
|
||||
.build();
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@ public final class TopTracksShortcutType extends BaseShortcutType {
|
|||
|
||||
public ShortcutInfo getShortcutInfo() {
|
||||
return new ShortcutInfo.Builder(mContext, ID_PREFIX + "top_tracks")
|
||||
.setShortLabel(mContext.getString(R.string.appshortcut_toptracks_short))
|
||||
.setLongLabel(mContext.getString(R.string.appshortcut_toptracks_long))
|
||||
.setShortLabel(mContext.getString(R.string.app_shortcut_top_tracks_short))
|
||||
.setLongLabel(mContext.getString(R.string.app_shortcut_top_tracks_long))
|
||||
.setIcon(Icon.createWithResource(mContext, R.drawable.ic_app_shortcut_top_tracks))
|
||||
.setIntent(getPlaySongsIntent(AppShortcutLauncherActivity.ShortcutType.TOP_TRACKS))
|
||||
.build();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue