提交 6cee361b 编写于 作者: Z zhoujun62

Slove SUB_AA_OpenHarmony_OnAndOffScreen_0500 and...

Slove SUB_AA_OpenHarmony_OnAndOffScreen_0500 and SUB_AA_OpenHarmony_OnAndOffScreen_0600 fail problem
Signed-off-by: Nzhoujun62 <zhoujun62@huawei.com>
上级 3022119f
......@@ -84,6 +84,7 @@ export default function OnAndOffScreenTest() {
})
if (!status) {
await sleep(500)
let cmd = "uinput -K -d 18 -u 18";
await executeShellCommand(cmd, TAG1);
await slideScreen(TAG1);
......@@ -463,6 +464,7 @@ export default function OnAndOffScreenTest() {
}
if (data.event == onForeground2) {
await sleep(500)
let cmd = "uinput -K -d 18 -u 18";
await executeShellCommand(cmd, TAG);
}
......@@ -565,6 +567,7 @@ export default function OnAndOffScreenTest() {
}
if (data.event == onForeground2 && !flag) {
await sleep(500)
let cmd = "uinput -K -d 18 -u 18";
await executeShellCommand(cmd, TAG);
flag = true;
......@@ -580,6 +583,7 @@ export default function OnAndOffScreenTest() {
}
if (data.event == onBackground2) {
await sleep(500)
let cmd = "uinput -K -d 18 -u 18";
await executeShellCommand(cmd, TAG);
await slideScreen(TAG);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册