diff --git a/interfaces/kits/ani/common/common_fun_ani.cpp b/interfaces/kits/ani/common/common_fun_ani.cpp index 885090a7d3ab9014cb811da5a388bf37acef7c62..1b8fececcbcce2909d74f87367307e8ef6ec74ba 100644 --- a/interfaces/kits/ani/common/common_fun_ani.cpp +++ b/interfaces/kits/ani/common/common_fun_ani.cpp @@ -98,6 +98,13 @@ constexpr const char* CLASSNAME_OVERLAY_MODULE_INFO_INNER = constexpr const char* CLASSNAME_WANT = "@ohos.app.ability.Want.Want"; constexpr const char* CLASSNAME_ZLIB_CHECKSUM_INTERNAL = "@ohos.zlib.zlib.ChecksumInternal"; constexpr const char* CLASSNAME_ZLIB_GZIP_INTERNAL = "@ohos.zlib.zlib.GZipInternal"; +constexpr const char* CLASSNAME_DISPOSED_RULE_INNER = "@ohos.bundle.appControl.appControl.DisposedRuleInner"; +constexpr const char* CLASSNAME_DISPOSED_UNINSTALL_RULE_INNER = + "@ohos.bundle.appControl.appControl.UninstallDisposedRuleInner"; +constexpr const char* CLASSNAME_BUNDLE_RES_INFO_INNER = + "bundleManager.BundleResourceInfoInner.BundleResourceInfoInner"; +constexpr const char* CLASSNAME_LAUNCHER_ABILITY_RESOURCE_INFO_INNER = + "bundleManager.LauncherAbilityResourceInfoInner.LauncherAbilityResourceInfoInner"; constexpr const char* PROPERTYNAME_NAME = "name"; constexpr const char* PROPERTYNAME_VERSION_CODE = "versionCode"; @@ -169,6 +176,10 @@ static std::map g_aniClassCache = { { CLASSNAME_APP_PROVISION_INFO_INNER, { } }, { CLASSNAME_ZLIB_CHECKSUM_INTERNAL, { } }, { CLASSNAME_ZLIB_GZIP_INTERNAL, { } }, + { CLASSNAME_DISPOSED_RULE_INNER, { } }, + { CLASSNAME_DISPOSED_UNINSTALL_RULE_INNER, { } }, + { CLASSNAME_BUNDLE_RES_INFO_INNER, { } }, + { CLASSNAME_LAUNCHER_ABILITY_RESOURCE_INFO_INNER, { } }, }; static ani_class GetCacheClass(ani_env* env, const std::string& className)