Merge "Keep off displays in trace" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
145c4ac0f9
@@ -97,19 +97,19 @@ fun FlickerTest.entireScreenCovered(allStates: Boolean = true) {
|
||||
if (allStates) {
|
||||
assertLayers {
|
||||
this.invoke("entireScreenCovered") { entry ->
|
||||
entry.entry.displays.forEach { display ->
|
||||
entry.entry.displays.filter { it.isOn }.forEach { display ->
|
||||
entry.visibleRegion().coversAtLeast(display.layerStackSpace)
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
assertLayersStart {
|
||||
this.entry.displays.forEach { display ->
|
||||
this.entry.displays.filter { it.isOn }.forEach { display ->
|
||||
this.visibleRegion().coversAtLeast(display.layerStackSpace)
|
||||
}
|
||||
}
|
||||
assertLayersEnd {
|
||||
this.entry.displays.forEach { display ->
|
||||
this.entry.displays.filter { it.isOn }.forEach { display ->
|
||||
this.visibleRegion().coversAtLeast(display.layerStackSpace)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user