commit | 15af4648a01317ca370a6920865ad80358345acd | [log] [tgz] |
---|---|---|
author | Naomi Musgrave <nmusgrave@google.com> | Wed Sep 15 16:54:31 2021 +0100 |
committer | Naomi Musgrave <nmusgrave@google.com> | Wed Sep 15 16:59:52 2021 +0100 |
tree | d59a4dc53a9f557f6ae5edb96c1670345f136e1b | |
parent | a809ca140a03ac0534faaff0b2bd5ab84d541956 [diff] |
Remove erroneous precondition for null surface test When DisplayContent is mirroring a VirtualDisplay with no surface, it is expected that querying the surface size returns null. Test mistakenly included an override for this method, leading to the test case asking SurfaceFlinger to mirror a null surface. Bug: 200017844 Test: atest WmTests:DisplayContentTests#testVirtualDisplayContent_withoutSurface --iterations 20 Change-Id: Ibaef4b85b99b6a3829ef598e050393db1616fdee