Commit bb64d84b authored by Geoffrey Métais's avatar Geoffrey Métais

TV: Look for history items in medialibrary

parent e6253806
......@@ -491,7 +491,7 @@ public class MainTvActivity extends BaseTvActivity implements OnItemViewSelected
else mHistoryAdapter.clear();
if (!mSettings.getBoolean(PreferencesFragment.PLAYBACK_HISTORY, true)) return null;
for (int i = 0; i < history.length; ++i) {
final MediaWrapper item = history[i];
final MediaWrapper item = mMediaLibrary.findMedia(history[i]);
mHistoryIndex.put(item.getLocation(), i);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment