commit | 546b8caa549e07085246619ea5ab39d99d39f8f3 | [log] [tgz] |
---|---|---|
author | Dave Mankoff <mankoff@google.com> | Wed Jun 30 12:47:41 2021 -0400 |
committer | Dave Mankoff <mankoff@google.com> | Wed Jun 30 12:54:26 2021 -0400 |
tree | 89e04c2158871bffc9ba12a11ba6d325da72a7df | |
parent | 06327bba215b427646942889e517a4b681e357f8 [diff] |
Fix Flaky MediaPlayerDataTest test. MediaPlayerData relied on a static call to System.currentTimeMillis. This somtimes caused the same value to be returned for subsequent method calls in tests, causing flakiness. Pass in SystemUI's own SystemClock instead. Fixes: 192244434 Test: atest SystemUITests Change-Id: I20868b5dfa50a2ece4c3261800076f1eb20f1bc7