Fix demo app playlist playbacks
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=195752969
This commit is contained in:
parent
483cf77120
commit
94ffbee7e5
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user