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
@ -284,6 +284,9 @@ public class PlayerActivity extends Activity
|
||||
extensions = new String[uriStrings.length];
|
||||
}
|
||||
manifestFilters = intent.getParcelableArrayExtra(MANIFEST_FILTER_LIST_EXTRA);
|
||||
if (manifestFilters == null) {
|
||||
manifestFilters = new Parcelable[uriStrings.length];
|
||||
}
|
||||
} else {
|
||||
showToast(getString(R.string.unexpected_intent_action, action));
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user