Adapt names to naming convention

This commit is contained in:
Xorok 2017-03-09 23:29:00 +01:00 committed by Karim Abou Zeid
commit d422a05e8d
4 changed files with 12 additions and 12 deletions

View file

@ -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();

View file

@ -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();

View file

@ -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();