private static Bundle create(
ShareStoryContent storyContent,
@Nullable Bundle mediaInfo,
@Nullable Bundle stickerInfo,
boolean dataErrorsFatal) {
Bundle params = createBaseParameters(storyContent, dataErrorsFatal);
if (mediaInfo != null){
params.putParcelable(ShareConstants.STORY_BG_ASSET, mediaInfo);
}
if (stickerInfo != null){
params.putParcelable(ShareConstants.STORY_INTERACTIVE_ASSET_URI, stickerInfo);
}
List<String> backgroundColorList = storyContent.getBackgroundColorList();
if (!Utility.isNullOrEmpty(backgroundColorList)){
params.putStringArrayList(
ShareConstants.STORY_INTERACTIVE_COLOR_LIST,
new ArrayList<>(backgroundColorList));
}
Utility.putNonEmptyString(params, ShareConstants.STORY_DEEP_LINK_URL,
storyContent.getAttributionLink());
return params;
}