commit | 9400d2be3e708261b99f3bb8cdb9d0e5be06db2a | [log] [tgz] |
---|---|---|
author | vadimt <vadimt@google.com> | Fri May 14 12:07:04 2021 -0700 |
committer | vadimt <vadimt@google.com> | Fri May 14 14:06:22 2021 -0700 |
tree | fb7a5226495bd22f79bc20944695343afb9c3def | |
parent | e010332efd2df99cfaab655ee618d8c0f1a7d2c7 [diff] |
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
diff --git a/ext_tests/src/com/android/launcher3/testing/DebugTestInformationHandler.java b/ext_tests/src/com/android/launcher3/testing/DebugTestInformationHandler.java index c6ae6be..72b8d3f 100644 --- a/ext_tests/src/com/android/launcher3/testing/DebugTestInformationHandler.java +++ b/ext_tests/src/com/android/launcher3/testing/DebugTestInformationHandler.java
@@ -109,6 +109,7 @@ case TestProtocol.REQUEST_VIEW_LEAK: { if (sLeaks == null) sLeaks = new LinkedList(); sLeaks.add(new View(mContext)); + sLeaks.add(new View(mContext)); return response; }