commit | 78ecb6ef17a1ed7abda69bd73da0f6436e376cde | [log] [tgz] |
---|---|---|
author | Jorge Gil <jorgegil@google.com> | Fri Sep 15 21:31:35 2023 +0000 |
committer | Jorge Gil <jorgegil@google.com> | Wed Sep 20 16:40:06 2023 +0000 |
tree | 09149544a9c3d0dc80b2cc93c0a99c3c102dd77f | |
parent | c1a30723403ec48fd43a931b4c954b14c4adf7c7 [diff] |
Use TestableLooper.RunWithLooper in unit tests These tests must run on a looper thread because they're UI related. TestableLooper takes care of running the class/tests on a looper thread without manually posting and awaiting a CountDownLatch. Bug: None Test: atest DesktopModeWindowDecorViewModelTests Change-Id: I37127a0f98c25d52f75746f4915e6cba552838f6