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

Commit f0990adb authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Remove redundant call to SetFlagsRule.initAllFlagsToReleaseConfigDefault()

Test: atest
Bug: 336802415
Flag: none
Change-Id: Ic2c3b07e0d1a69600514930e52bcee655d06dcf5
parent dbfccdff
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -122,8 +122,6 @@ public class ProxyManagerTest {

    @Before
    public void setup() throws RemoteException {
        mSetFlagsRule.initAllFlagsToReleaseConfigDefault();

        MockitoAnnotations.initMocks(this);
        final Resources resources = InstrumentationRegistry.getContext().getResources();

+0 −1
Original line number Diff line number Diff line
@@ -339,7 +339,6 @@ public class VirtualDeviceManagerServiceTest {
        LocalServices.removeServiceForTest(DisplayManagerInternal.class);
        LocalServices.addService(DisplayManagerInternal.class, mDisplayManagerInternalMock);

        mSetFlagsRule.initAllFlagsToReleaseConfigDefault();
        mSetFlagsRule.enableFlags(com.android.input.flags.Flags.FLAG_ENABLE_POINTER_CHOREOGRAPHER);

        doNothing().when(mInputManagerInternalMock)
+0 −3
Original line number Diff line number Diff line
@@ -65,9 +65,6 @@ public class DisplayContentDeferredUpdateTests extends WindowTestsBase {

    @Override
    protected void onBeforeSystemServicesCreated() {
        // Set other flags to their default values
        mSetFlagsRule.initAllFlagsToReleaseConfigDefault();

        mSetFlagsRule.enableFlags(Flags.FLAG_DEFER_DISPLAY_UPDATES);
    }