Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment