diff --git a/interfaces/innerkits/ability_manager/include/ability_manager_interface.h b/interfaces/innerkits/ability_manager/include/ability_manager_interface.h index 1355fbfb65..1039ee270d 100644 --- a/interfaces/innerkits/ability_manager/include/ability_manager_interface.h +++ b/interfaces/innerkits/ability_manager/include/ability_manager_interface.h @@ -896,15 +896,15 @@ public: START_ABILITY_FOR_OPTIONS, + // ipc id for call ability + START_CALL_ABILITY, + + RELEASE_CALL_ABILITY, + // ipc id for continue ability(1101) START_CONTINUATION = 1101, NOTIFY_CONTINUATION_RESULT = 1102, - - // ipc id for call ability - START_CALL_ABILITY, - - RELEASE_CALL_ABILITY, NOTIFY_COMPLETE_CONTINUATION = 1103, diff --git a/interfaces/kits/napi/aafwk/app/ability_delegator/js_ability_monitor.h b/interfaces/kits/napi/aafwk/app/ability_delegator/js_ability_monitor.h index 26cfade0d1..46dadacdff 100644 --- a/interfaces/kits/napi/aafwk/app/ability_delegator/js_ability_monitor.h +++ b/interfaces/kits/napi/aafwk/app/ability_delegator/js_ability_monitor.h @@ -32,12 +32,6 @@ public: explicit JSAbilityMonitor(const std::string &abilityName); ~JSAbilityMonitor() = default; - static void Finalizer(NativeEngine *engine, void *data, void *hint) - { - HILOG_INFO("JsAbilityContext::Finalizer is called"); - std::unique_ptr(static_cast(data)); - } - void onAbilityCreate(); void onAbilityForeground(); void onAbilityBackground();