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:
eguven 2018-03-28 10:02:59 -07:00 committed by Oliver Woodman
parent f40add5244
commit e12f890dee

View File

@ -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;