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

Commit 5a11b433 authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Remove redundant call to SetFlagsRule.initAllFlagsToReleaseConfigDefault()

Test: atest
Bug: 336802415
Flag: test_only
Merged-In: Ic2c3b07e0d1a69600514930e52bcee655d06dcf5
Change-Id: Ic2c3b07e0d1a69600514930e52bcee655d06dcf5
parent c9615168
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 −2
Original line number Diff line number Diff line
@@ -338,8 +338,6 @@ public class VirtualDeviceManagerServiceTest {
        LocalServices.removeServiceForTest(DisplayManagerInternal.class);
        LocalServices.addService(DisplayManagerInternal.class, mDisplayManagerInternalMock);

        mSetFlagsRule.initAllFlagsToReleaseConfigDefault();

        doReturn(true).when(mInputManagerInternalMock).setVirtualMousePointerDisplayId(anyInt());
        doNothing().when(mInputManagerInternalMock).setPointerAcceleration(anyFloat(), anyInt());
        doNothing().when(mInputManagerInternalMock).setPointerIconVisible(anyBoolean(), anyInt());
+0 −3
Original line number Diff line number Diff line
@@ -57,9 +57,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);
    }