mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-27 17:01:21 +00:00
bugfix
Signed-off-by: guojin31 <guojin31@huawei.com>
This commit is contained in:
parent
d895d9f9b9
commit
c889063c5b
@ -107,6 +107,7 @@ bool SecurityModeParser::ParseJsonData(const std::string& valueStr, const int32_
|
||||
|
||||
int32_t SecurityModeParser::GetSecurityMode(const std::string bundleName, int32_t &security, const int32_t userId)
|
||||
{
|
||||
GetFullModeList(userId);
|
||||
if (IsFullMode(bundleName)) {
|
||||
security = static_cast<int32_t>(SecurityMode::FULL);
|
||||
} else {
|
||||
|
@ -642,6 +642,7 @@ ohos_unittest("SecurityModeParseTest") {
|
||||
|
||||
external_deps = [
|
||||
"ability_base:zuri",
|
||||
"ability_runtime:ability_manager",
|
||||
"ability_runtime:dataobs_manager",
|
||||
"access_token:libaccesstoken_sdk",
|
||||
"bundle_framework:appexecfwk_core",
|
||||
|
Loading…
Reference in New Issue
Block a user