mirror of
https://gitee.com/openharmony/bundlemanager_bundle_framework
synced 2024-11-30 10:52:16 +00:00
fix bug
Signed-off-by: wangtiantian <wangtiantian19@huawei.com>
This commit is contained in:
parent
197c97236a
commit
07c26e2027
@ -419,11 +419,11 @@ void from_json(const nlohmann::json &jsonObject, AbilityInfo &abilityInfo)
|
||||
false,
|
||||
parseResult,
|
||||
ArrayType::NOT_ARRAY);
|
||||
GetValueIfFindKey<bool>(jsonObject,
|
||||
GetValueIfFindKey<uint32_t>(jsonObject,
|
||||
jsonObjectEnd,
|
||||
JSON_KEY_BACKGROUND_MODES,
|
||||
abilityInfo.backgroundModes,
|
||||
JsonType::BOOLEAN,
|
||||
JsonType::NUMBER,
|
||||
false,
|
||||
parseResult,
|
||||
ArrayType::NOT_ARRAY);
|
||||
|
Loading…
Reference in New Issue
Block a user