mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-11-27 01:10:52 +00:00
Signed-off-by: xuchenghua <xuchenghua09@huawei.com>
This commit is contained in:
parent
1fd5f84f66
commit
647795a54b
@ -32,7 +32,6 @@ NativeValue* CreateJsHapModuleInfo(NativeEngine& engine, AppExecFwk::HapModuleIn
|
||||
object->SetProperty("label", CreateJsValue(engine, hapModuleInfo.label));
|
||||
object->SetProperty("backgroundImg", CreateJsValue(engine, hapModuleInfo.backgroundImg));
|
||||
object->SetProperty("mainAbilityName", CreateJsValue(engine, hapModuleInfo.mainAbility));
|
||||
// object->SetProperty("srcPath", CreateJsValue(engine, hapModuleInfo.srcPath)); // d.ts no have
|
||||
object->SetProperty("supportedModes", CreateJsValue(engine, hapModuleInfo.supportedModes));
|
||||
|
||||
NativeValue *capArrayValue = engine.CreateArray(hapModuleInfo.reqCapabilities.size());
|
||||
|
@ -210,4 +210,4 @@ private:
|
||||
size_t cachedFsi_;
|
||||
};
|
||||
} // namespace OHOS
|
||||
#endif // #ifndef UTILS_NATIVE_INCLUDE_URI_H_
|
||||
#endif // UTILS_NATIVE_INCLUDE_URI_H_
|
||||
|
@ -21,7 +21,6 @@
|
||||
|
||||
#include "ability_info.h"
|
||||
#include "application_info.h"
|
||||
// #include "app_mgr_constants.h"
|
||||
#include "iapp_state_callback.h"
|
||||
#include "running_process_info.h"
|
||||
#include "want.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "hilog_wrapper.h"
|
||||
#include "if_system_ability_manager.h"
|
||||
#include "ipc_skeleton.h"
|
||||
// #include "sa_mgr_client.h"
|
||||
#include "system_ability_definition.h"
|
||||
|
||||
namespace OHOS {
|
||||
|
@ -347,9 +347,6 @@ public:
|
||||
private:
|
||||
FormDBInfo formDBInfo_;
|
||||
};
|
||||
|
||||
// void to_json(nlohmann::json &jsonObject, const FormDBInfo &info);
|
||||
// void from_json(const nlohmann::json &jsonObject, FormDBInfo &info);
|
||||
} // namespace AppExecFwk
|
||||
} // namespace OHOS
|
||||
#endif // FOUNDATION_APPEXECFWK_SERVICES_FORMMGR_INCLUDE_INNER_FORM_INFO_H
|
||||
|
@ -17,7 +17,6 @@
|
||||
#define FOUNDATION_APPEXECFWK_OHOS_FORM_HOST_CLIENT_H
|
||||
|
||||
#include <map>
|
||||
// #include "ability.h"
|
||||
#include "form_host_stub.h"
|
||||
#include "iremote_object.h"
|
||||
#include "iremote_stub.h"
|
||||
|
@ -13,7 +13,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
// #include <chrono>
|
||||
#include <gtest/gtest.h>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
|
@ -13,7 +13,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
// #include <chrono>
|
||||
#include <gtest/gtest.h>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
|
@ -62,7 +62,6 @@ ErrCode FormMgrShellCommand::CreateCommandMap()
|
||||
commandMap_ = {
|
||||
{"help", std::bind(&FormMgrShellCommand::RunAsHelpCommand, this)},
|
||||
{"query", std::bind(&FormMgrShellCommand::RunAsQueryCommand, this)},
|
||||
// {"dump", std::bind(&FormMgrShellCommand::RunAsDumpCommand, this)},
|
||||
};
|
||||
|
||||
return OHOS::ERR_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user