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

Commit 767f71aa authored by Raman Tenneti's avatar Raman Tenneti
Browse files

Disable the failing setAutoMode_screenOff* tests in stage-aosp-master.

BUG: 152719290

Forrest run: https://android-build.googleplex.com/builds/forrest/run/L28100000517212766

Test: manual.

Change-Id: I2a9ec6e37584e55f8419d993ee73c3987ac80439
Merged-In: I0dca5268fb5fed46b898ec3c90e6d9f7ff42312f
parent feeb3bcd
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ import android.testing.TestableLooper;
import com.android.server.twilight.TwilightManager;
import com.android.server.wm.WindowManagerInternal;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
@@ -87,6 +88,7 @@ public class UiModeManagerServiceTest extends UiServiceTestCase {
        });
    }

    @Ignore // b/152719290 - Fails on stage-aosp-master
    @Test
    public void setAutoMode_screenOffRegistered() throws RemoteException {
        try {
@@ -96,6 +98,7 @@ public class UiModeManagerServiceTest extends UiServiceTestCase {
        verify(mContext).registerReceiver(any(BroadcastReceiver.class), any());
    }

    @Ignore // b/152719290 - Fails on stage-aosp-master
    @Test
    public void setAutoMode_screenOffUnRegistered() throws RemoteException {
        try {