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

Commit 6b92a9ef authored by Vladimir Komsiyski's avatar Vladimir Komsiyski
Browse files

Init all flags to default in VDMSTest

Bug: n/a
Change-Id: I61f4a5e6633fb8d91be05e8454bf9b06ae66e1cd
Test: presubmit
parent 36d818fb
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -337,11 +337,7 @@ public class VirtualDeviceManagerServiceTest {
        LocalServices.removeServiceForTest(DisplayManagerInternal.class);
        LocalServices.addService(DisplayManagerInternal.class, mDisplayManagerInternalMock);

        mSetFlagsRule.disableFlags(Flags.FLAG_VDM_PUBLIC_APIS);
        mSetFlagsRule.disableFlags(Flags.FLAG_DYNAMIC_POLICY);
        mSetFlagsRule.disableFlags(Flags.FLAG_STREAM_PERMISSIONS);
        mSetFlagsRule.disableFlags(Flags.FLAG_VDM_CUSTOM_HOME);
        mSetFlagsRule.disableFlags(Flags.FLAG_ENABLE_NATIVE_VDM);
        mSetFlagsRule.initAllFlagsToReleaseConfigDefault();

        doReturn(true).when(mInputManagerInternalMock).setVirtualMousePointerDisplayId(anyInt());
        doNothing().when(mInputManagerInternalMock).setPointerAcceleration(anyFloat(), anyInt());