This reverts commit
da51f4c785b159887eef410c1057e30d66bb5ba4.
Now hybrid installer can merge manifest completely.
Submit with:
- https://review.tizen.org/gerrit/107236
- https://review.tizen.org/gerrit/107237
- https://review.tizen.org/gerrit/107238
- https://review.tizen.org/gerrit/107239
Change-Id: Ifb5f7d2810b5522686346a1766f1628e69cc3574
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
const char kSplashScreenAppControlOperationKey[] = "@app-control-operation";
const char kSplashScreenColorDepthKey[] = "@color-depth";
-// FIXME: For hotfix, must be removed
-// support-size
-const char kSupportSizeKey[] = "support-size";
-const char kSupportSizePreviewKey[] = "@preview";
-const char kSupportSizeTextKey[] = "#text";
-
} // namespace tpk_app_keys
} // namespace parse
extern const char kSplashScreenOperationKey[];
extern const char kSplashScreenAppControlOperationKey[];
extern const char kSplashScreenColorDepthKey[];
-// FIXME: For hotfix, must be removed
-extern const char kSupportSizeKey[];
-extern const char kSupportSizePreviewKey[];
-extern const char kSupportSizeTextKey[];
} // namespace tpk_app_keys
std::vector<LabelInfo> label;
std::vector<std::string> categories;
ApplicationSplashScreenInfo app_splashscreens;
- // FIXME: For hotfix, must be removed
- std::vector<SupportSizeInfo> support_sizes;
};
template<typename T>
std::vector<ApplicationIcon> icons_;
};
-// FIXME: For hotfix, must be removed
-class SupportSizeInfo : public parser::ManifestData {
- public:
- SupportSizeInfo(const std::string& preview,
- const std::string& size)
- : preview_(preview),
- size_(size) {}
-
- const std::string& preview() const {
- return preview_;
- }
- const std::string& size() const {
- return size_;
- }
- private:
- std::string preview_;
- std::string size_;
-};
-
class ApplicationImagesInfo {
public:
std::vector<ApplicationImage> images;
return true;
}
-// FIXME: For hotfix, must be removed
-bool ParseSupportSize(const parser::DictionaryValue& dict,
- WidgetApplicationSingleEntry* info, std::string*) {
- std::string preview;
- dict.GetString(tpk_app_keys::kSupportSizePreviewKey, &preview);
- std::string size;
- dict.GetString(tpk_app_keys::kSupportSizeTextKey, &size);
- info->support_sizes.emplace_back(preview, size);
-
- return true;
-}
-
bool InitializeParsing(const parser::DictionaryValue& app_dict,
WidgetApplicationSingleEntry* widgetapplicationinfo,
std::string* error) {
if (!InitializeParsingElement(app_dict, tpk_app_keys::kMetaDataKey,
parsingFunc, widgetapplicationinfo, error))
return false;
- // FIXME: For hotfox, must be removed
- parsingFunc = ParseSupportSize;
- if (!InitializeParsingElement(app_dict, tpk_app_keys::kSupportSizeKey,
- parsingFunc, widgetapplicationinfo, error))
- return false;
parsingFunc = ParseAppIcon<WidgetApplicationSingleEntry>;
if (!InitializeParsingElement(app_dict, tpk_app_keys::kIconKey,
parsingFunc, widgetapplicationinfo, error))