Reset RecordUserAction and RecordHistogram after each DummyUiActivity test
https://cs.chromium.org/chromium/src/base/android/java/src/org/chromium/base/metrics/RecordUserAction.java?q=RecordUserAction&g=0&l=26-27 It seems we need to reset the value to avoid carrying over state to unrelated tests after test is done. Moved them to DummyUiActivityTestCase to set and reset them by default. Bug: 728297, 908174 Change-Id: If9462012a967933e927b5e0987944d03110bab5f Reviewed-on: https://chromium-review.googlesource.com/c/1492368 Commit-Queue: Yun Liu <yliuyliu@google.com> Reviewed-by:Ted Choc <tedchoc@chromium.org> Cr-Commit-Position: refs/heads/master@{#636233}
Showing
Please register or sign in to comment