mirror of
https://github.com/androidx/media.git
synced 2025-05-09 16:40:55 +08:00
Rename mpdIntent to intent.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=122730041
This commit is contained in:
parent
7d4c786e21
commit
7d9541848e
@ -92,13 +92,13 @@ public class SampleChooserActivity extends Activity {
|
||||
}
|
||||
|
||||
private void onSampleSelected(Sample sample) {
|
||||
Intent mpdIntent = new Intent(this, PlayerActivity.class)
|
||||
Intent intent = new Intent(this, PlayerActivity.class)
|
||||
.setData(Uri.parse(sample.uri))
|
||||
.putExtra(PlayerActivity.CONTENT_ID_EXTRA, sample.contentId)
|
||||
.putExtra(PlayerActivity.CONTENT_TYPE_EXTRA, sample.type)
|
||||
.putExtra(PlayerActivity.PROVIDER_EXTRA, sample.provider)
|
||||
.putExtra(PlayerActivity.USE_EXTENSION_DECODERS, sample.useExtensionDecoders);
|
||||
startActivity(mpdIntent);
|
||||
startActivity(intent);
|
||||
}
|
||||
|
||||
private static final class SampleAdapter extends BaseExpandableListAdapter {
|
||||
|
Loading…
x
Reference in New Issue
Block a user