mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-30 18:31:01 +00:00
!1020 修复重启后输入法获取的安全模式和重启前不一致问题
Merge pull request !1020 from guojin31/master
This commit is contained in:
commit
74398ca2e2
@ -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