Leak 2 views for the view leak detection test

This compensates for the noise in the view count.

Test: labtest
Bug: 187761685
Change-Id: I04a256f2b36a62e6c7c602d51cccf3a6f1c75ee0
This commit is contained in:
vadimt 2021-05-14 12:07:04 -07:00
parent e010332efd
commit 9400d2be3e
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ public class DebugTestInformationHandler extends TestInformationHandler {
case TestProtocol.REQUEST_VIEW_LEAK: {
if (sLeaks == null) sLeaks = new LinkedList();
sLeaks.add(new View(mContext));
sLeaks.add(new View(mContext));
return response;
}