I inadvertantly switched ordinal to id while changing other ordinals.
Ids are fine but I didn't update the HomeActivity logic
Change-Id: I1f97db3ff3f0e6e94da3fe9dd67184d4c375b516
FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
if (action.equals(ACTION_VIEW_SMART_PLAYLIST)) {
- int playlistType = intent.getExtras().getInt(Config.SMART_PLAYLIST_TYPE);
- switch (Config.SmartPlaylistType.values()[playlistType]) {
+ long playlistId = intent.getExtras().getLong(Config.SMART_PLAYLIST_TYPE);
+ switch (Config.SmartPlaylistType.getTypeById(playlistId)) {
case LastAdded:
targetFragment = new LastAddedFragment();
break;