Signed-off-by: xuchenghua <xuchenghua09@huawei.com>
This commit is contained in:
xuchenghua 2022-03-23 11:08:52 +08:00
parent 1fd5f84f66
commit 647795a54b
9 changed files with 1 additions and 11 deletions

View File

@ -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());

View File

@ -210,4 +210,4 @@ private:
size_t cachedFsi_;
};
} // namespace OHOS
#endif // #ifndef UTILS_NATIVE_INCLUDE_URI_H_
#endif // UTILS_NATIVE_INCLUDE_URI_H_

View File

@ -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"

View File

@ -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 {

View File

@ -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

View File

@ -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"

View File

@ -13,7 +13,6 @@
* limitations under the License.
*/
// #include <chrono>
#include <gtest/gtest.h>
#include <string>
#include <thread>

View File

@ -13,7 +13,6 @@
* limitations under the License.
*/
// #include <chrono>
#include <gtest/gtest.h>
#include <string>
#include <thread>

View File

@ -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;