mirror of
https://github.com/openharmony/device_profile_core.git
synced 2026-07-21 04:15:22 -04:00
静态成员变量声明在文件开始
Signed-off-by: wangyang2022 <wangyang412@huawei.com> Change-Id: I3bbfe269e64ef9cc2971f2cb6cac8242109b4b68
This commit is contained in:
@@ -30,6 +30,8 @@ constexpr int32_t VISIBILITY_PUBLIC = -1;
|
||||
const std::string AUTH_APPID = "device_profile_auth";
|
||||
}
|
||||
|
||||
std::shared_ptr<AppExecFwk::EventHandler> TrustGroupManager::trustGroupMgrHandler_;
|
||||
|
||||
IMPLEMENT_SINGLE_INSTANCE(TrustGroupManager);
|
||||
|
||||
void from_json(const nlohmann::json& jsonObject, GroupInfo& groupInfo)
|
||||
@@ -41,8 +43,6 @@ void from_json(const nlohmann::json& jsonObject, GroupInfo& groupInfo)
|
||||
jsonObject.at(FIELD_GROUP_VISIBILITY).get_to(groupInfo.groupVisibility);
|
||||
}
|
||||
|
||||
std::shared_ptr<AppExecFwk::EventHandler> TrustGroupManager::trustGroupMgrHandler_;
|
||||
|
||||
void TrustGroupManager::Init()
|
||||
{
|
||||
if (InitDeviceAuthService() != ERR_OK) {
|
||||
|
||||
Reference in New Issue
Block a user