adapter window layer

Signed-off-by: yichengzhao <yichengzhao1@huawei.com>
Change-Id: Ie0da48debc9d9fcd7fb90f3c1228af475954a31b
This commit is contained in:
yichengzhao
2022-08-24 17:10:17 +08:00
parent 0b528b6ba3
commit 74a61f59a9
+1 -1
View File
@@ -268,7 +268,7 @@ namespace OHOS::uitest {
} else if (w2.IsActive()) {
return false;
}
return w1.GetWindowLayer() < w2.GetWindowLayer();
return w1.GetWindowLayer() > w2.GetWindowLayer();
});
AccessibilityElementInfo elementInfo;
for (auto &window : windows) {