From 6d6ecc8a946e4ffe6bb97b2983d70f3efd8bc1ce Mon Sep 17 00:00:00 2001 From: Denis Slynko Date: Sat, 13 Sep 2025 13:30:34 +0300 Subject: [PATCH] [ANI] Remove deprecated mangling Issue: #ICXURY Change-Id: I30e600f3826c955b3dad2aabef8a1230a847677a Signed-off-by: Denis Slynko --- .../src/ohos.resourceschedule.backgroundTaskManager.impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interfaces/kits/ets/taihe/src/ohos.resourceschedule.backgroundTaskManager.impl.cpp b/interfaces/kits/ets/taihe/src/ohos.resourceschedule.backgroundTaskManager.impl.cpp index 089aee47..d20bce2d 100644 --- a/interfaces/kits/ets/taihe/src/ohos.resourceschedule.backgroundTaskManager.impl.cpp +++ b/interfaces/kits/ets/taihe/src/ohos.resourceschedule.backgroundTaskManager.impl.cpp @@ -357,7 +357,7 @@ static ani_enum_item GetSlotType(ani_env *env) return nullptr; } ani_enum enumType; - if (ANI_OK != env->FindEnum("L@ohos/notificationManager/notificationManager/SlotType;", &enumType)) { + if (ANI_OK != env->FindEnum("@ohos.notificationManager.notificationManager.SlotType", &enumType)) { BGTASK_LOGE("get slotType failed"); return nullptr; } @@ -377,7 +377,7 @@ static ani_enum_item GetContentType(ani_env *env) return nullptr; } ani_enum enumType; - if (ANI_OK != env->FindEnum("L@ohos/notificationManager/notificationManager/ContentType;", &enumType)) { + if (ANI_OK != env->FindEnum("@ohos.notificationManager.notificationManager.ContentType", &enumType)) { BGTASK_LOGE("get contentType failed"); return nullptr; } -- Gitee