diff --git a/interfaces/innerkits/appexecfwk_base/include/ability_info.h b/interfaces/innerkits/appexecfwk_base/include/ability_info.h index 781e7c29090d41729f39b2c15e15545bfda192d8..9b0c228a87e779cc259ca6e95ccabc19e749119d 100644 --- a/interfaces/innerkits/appexecfwk_base/include/ability_info.h +++ b/interfaces/innerkits/appexecfwk_base/include/ability_info.h @@ -29,6 +29,7 @@ enum class AbilityType { PAGE, SERVICE, DATA, + FORM, }; enum class AbilitySubType { diff --git a/services/bundlemgr/src/bundle_profile.cpp b/services/bundlemgr/src/bundle_profile.cpp index 1f53df16c4e44d21b56a543c6c2798e029306fab..a5069a1594a7df9733aac35be17347223a6a45e7 100644 --- a/services/bundlemgr/src/bundle_profile.cpp +++ b/services/bundlemgr/src/bundle_profile.cpp @@ -29,7 +29,7 @@ namespace ProfileReader { thread_local int32_t parseResult; const std::map ABILITY_TYPE_MAP = { - {"page", AbilityType::PAGE}, {"service", AbilityType::SERVICE}, {"data", AbilityType::DATA}}; + {"page", AbilityType::PAGE}, {"service", AbilityType::SERVICE}, {"data", AbilityType::DATA}, {"form", AbilityType::FORM}}; const std::map DISPLAY_ORIENTATION_MAP = { {"unspecified", DisplayOrientation::UNSPECIFIED}, {"landscape", DisplayOrientation::LANDSCAPE},