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

Commit b2f64cbc authored by Behnam Heydarshahi's avatar Behnam Heydarshahi Committed by Android (Google) Code Review
Browse files

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

parents 348d90c7 49b032c8
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);