commit | f0cf72c98bb41bc4c05f23161a9ab862c5771a42 | [log] [tgz] |
---|---|---|
author | Jernej Virag <jernej@google.com> | Wed Aug 07 15:39:33 2024 +0200 |
committer | Jernej Virag <jernej@google.com> | Thu Aug 08 10:33:30 2024 +0200 |
tree | 47d776fd80c72070339f2cbb73412d310488619a | |
parent | 872ecd29338c90743602a8b95e613d2950025dab [diff] |
Have async FakeSettings methods advance the dispatcher This avoids having to write a lot of testScope.runCurrent invocations after the underlying code runs async/suspend functions. It makes testing significantly easier for users. Bug: 327558308 Flag: TEST_ONLY Test: atest SystemUITests FakeSettingsTest Change-Id: I1b4140e11f578f7320a3867346f2718568d07aee