Remove all remaining usages of LooperMode.LEGACY

Also temporarily ignore UwbPreferenceControllerTest due to unfinished tasks on main thread, see b/337171922 for more detail

Bug: 330824314

Test: atest
Change-Id: I45219fee8094b38790faf8d778e8a1ddeb7c7aaa
This commit is contained in:
Fan Wu
2024-04-26 02:31:19 +00:00
parent c44d4f3f6f
commit 14c9806612
7 changed files with 2 additions and 12 deletions

View File

@@ -39,13 +39,11 @@ import org.junit.runner.RunWith;
import org.robolectric.Robolectric;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.Config;
import org.robolectric.annotation.LooperMode;
import java.util.ArrayList;
import java.util.List;
@RunWith(RobolectricTestRunner.class)
@LooperMode(LooperMode.Mode.LEGACY)
@Config(shadows = {ShadowUserManager.class, ShadowDevicePolicyManager.class})
public class RestrictedButtonTest {