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:
@@ -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 {
|
||||
|
||||
|
Reference in New Issue
Block a user