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

Commit d02dcb66 authored by Behnam Heydarshahi's avatar Behnam Heydarshahi Committed by Automerger Merge Worker
Browse files

Merge "Revert "Clear main looper before VolumeDialogImplTest"" into udc-qpr-dev am: b2f64cbc

parents bd304f3d b2f64cbc
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -41,7 +41,6 @@ import static org.mockito.Mockito.when;
import android.app.KeyguardManager;
import android.content.res.Configuration;
import android.media.AudioManager;
import android.os.Handler;
import android.os.SystemClock;
import android.testing.AndroidTestingRunner;
import android.testing.TestableLooper;
@@ -147,10 +146,6 @@ public class VolumeDialogImplTest extends SysuiTestCase {
        mTestableLooper = TestableLooper.get(this);
        allowTestableLooperAsMainThread();

        // Ensure previous tests have not left messages on main looper
        Handler localHandler = new Handler(mTestableLooper.getLooper());
        localHandler.removeCallbacksAndMessages(null);

        when(mPostureController.getDevicePosture())
                .thenReturn(DevicePostureController.DEVICE_POSTURE_CLOSED);