Fixed top track shortcut playing recent tracks.

This commit is contained in:
Karim Abou Zeid 2017-03-23 18:52:54 +01:00
commit d60ca48c2b

View file

@ -49,7 +49,7 @@ public class AppShortcutLauncherActivity extends Activity {
break;
case TOP_TRACKS:
launchMainActivityWithSongs(PlayMode.NORMAL,
TopAndRecentlyPlayedTracksLoader.getRecentlyPlayedTracks(getApplicationContext()));
TopAndRecentlyPlayedTracksLoader.getTopTracks(getApplicationContext()));
DynamicShortcutManager.reportShortcutUsed(this, TopTracksShortcutType.getId());
break;
case LAST_ADDED: