mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-23 06:40:06 +00:00
Signed-off-by: ma-shaoyin <mashaoyin1@huawei.com>
Changes to be committed:
This commit is contained in:
parent
97c1279718
commit
2086c2f765
@ -394,7 +394,8 @@ void TddUtil::InitCurrentImePermissionInfo()
|
||||
void TddUtil::WindowManager::CreateWindow()
|
||||
{
|
||||
if (windowTokenId_ == 0) {
|
||||
windowTokenId_ = AllocTestTokenID(true, "TestWindow", {});
|
||||
windowTokenId_ = AllocTestTokenID(true, "TestWindow",
|
||||
{ "ohos.permission.SYSTEM_FLOAT_WINDOW" });
|
||||
}
|
||||
TokenScope scope(windowTokenId_);
|
||||
std::string windowName = "inputmethod_test_window";
|
||||
|
Loading…
Reference in New Issue
Block a user