mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix NPE in PlayerActivity while playing a playlist
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=190787884
This commit is contained in:
parent
f40add5244
commit
e12f890dee
1 changed files with 3 additions and 0 deletions
|
|
@ -284,6 +284,9 @@ public class PlayerActivity extends Activity
|
||||||
extensions = new String[uriStrings.length];
|
extensions = new String[uriStrings.length];
|
||||||
}
|
}
|
||||||
manifestFilters = intent.getParcelableArrayExtra(MANIFEST_FILTER_LIST_EXTRA);
|
manifestFilters = intent.getParcelableArrayExtra(MANIFEST_FILTER_LIST_EXTRA);
|
||||||
|
if (manifestFilters == null) {
|
||||||
|
manifestFilters = new Parcelable[uriStrings.length];
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
showToast(getString(R.string.unexpected_intent_action, action));
|
showToast(getString(R.string.unexpected_intent_action, action));
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue