Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fde75c20 authored by jasonwshsu's avatar jasonwshsu Committed by Jason Hsu
Browse files

Remove redundant library call

SystemUI already imports SetFlagsRule which can replace CheckFlagsRule in unit tests.

Bug: 298718415
Flag: ACONFIG com.android.systemui.floating_menu_drag_to_hide DEVELOPMENT
Test: atest MenuViewLayerTest
Change-Id: Ibca7f74e4174a6120b4cefc5118ab87e1edb3cb9
parent 376a6a6a
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -55,8 +55,6 @@ import android.os.Build;
import android.os.UserHandle;
import android.platform.test.annotations.DisableFlags;
import android.platform.test.annotations.EnableFlags;
import android.platform.test.flag.junit.CheckFlagsRule;
import android.platform.test.flag.junit.DeviceFlagsValueProvider;
import android.provider.Settings;
import android.testing.AndroidTestingRunner;
import android.testing.TestableLooper;
@@ -120,10 +118,6 @@ public class MenuViewLayerTest extends SysuiTestCase {
    @Rule
    public MockitoRule mockito = MockitoJUnit.rule();

    @Rule
    public final CheckFlagsRule mCheckFlagsRule =
            DeviceFlagsValueProvider.createCheckFlagsRule();

    @Spy
    private SysuiTestableContext mSpyContext = getContext();
    @Mock