Commit fb00221d by eguven Committed by Oliver Woodman

Fix demo app multi period stream track selection for downloading

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=199791722
parent 0beff724
...@@ -271,12 +271,12 @@ public class DownloadTracker implements DownloadManager.Listener { ...@@ -271,12 +271,12 @@ public class DownloadTracker implements DownloadManager.Listener {
trackTitles.add(trackNameProvider.getTrackName(trackGroup.getFormat(k))); trackTitles.add(trackNameProvider.getTrackName(trackGroup.getFormat(k)));
} }
} }
}
if (!trackKeys.isEmpty()) { if (!trackKeys.isEmpty()) {
builder.setView(dialogView); builder.setView(dialogView);
} }
builder.create().show(); builder.create().show();
} }
}
@Override @Override
public void onPrepareError(DownloadHelper helper, IOException e) { public void onPrepareError(DownloadHelper helper, IOException e) {
......
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 sign in to comment