diff options
| author | Michal Brzezinski <brzezinski@google.com> | 2022-01-18 17:58:21 +0000 |
|---|---|---|
| committer | Michal Brzezinski <brzezinski@google.com> | 2022-01-18 17:58:21 +0000 |
| commit | 7b422dc1a1a4fdfac47c38587197e1d478981e0b (patch) | |
| tree | 508469d12813b3bc14e1fa7478a56286aa7b22bc /core/java/android/widget/TextView.java | |
| parent | 0eebf348e4c413a5d134802ba180af639a3395f4 (diff) | |
Fixing ControlsRequestDialogTest
ControlsRequestDialogTest was flaky because sometimes mocks were cleared (in SysuiTestCase's @AfterClass) before Activity was fully destroyed.
The solution here is to not use mock for BroadcastDispatcher and instead use FakeBroadcastDispatcher which just waits to be used.
Fixes: 214562366
Test: run ControlsRequestDialogTest 20 times locally without any failures
Change-Id: I7d7b932fe175b1e65c7ed21507b0c67a5f39dcfb
Diffstat (limited to 'core/java/android/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions
