Fix demo app playlist playbacks

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=195752969
This commit is contained in:
olly 2018-05-07 17:59:52 -07:00 committed by Oliver Woodman
parent 483cf77120
commit 94ffbee7e5

View File

@ -548,10 +548,10 @@ public class SampleChooserActivity extends Activity
@Override @Override
public Intent buildIntent(Context context) { public Intent buildIntent(Context context) {
Uri[] uris = new Uri[children.length]; String[] uris = new String[children.length];
String[] extensions = new String[children.length]; String[] extensions = new String[children.length];
for (int i = 0; i < children.length; i++) { for (int i = 0; i < children.length; i++) {
uris[i] = children[i].uri; uris[i] = children[i].uri.toString();
extensions[i] = children[i].extension; extensions[i] = children[i].extension;
} }
return super.buildIntent(context) return super.buildIntent(context)