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

Commit d56b6013 authored by András Kurucz's avatar András Kurucz
Browse files

Disable NotifLiveData flag for LegacyLightsOutNotifControllerTest

LegacyLightsOutNotifController supposed to be deleted with this refactor flag, therefore it cannot be constructed if the flag is on.

Bug: 324436985
Test: atest LegacyLightsOutNotifControllerTest
Flag: ACONFIG com.android.systemui.notifications_live_data_store_refactor DEVELOPMENT
Change-Id: I907e3afee774f08a60b72bf596f44cf9abd75e99
parent 60f5711d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ import static junit.framework.Assert.assertTrue;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;

import android.platform.test.annotations.DisableFlags;
import android.testing.AndroidTestingRunner;
import android.testing.TestableLooper.RunWithLooper;
import android.view.Display;
@@ -40,6 +41,7 @@ import com.android.systemui.SysuiTestCase;
import com.android.systemui.statusbar.CommandQueue;
import com.android.systemui.statusbar.notification.collection.NotifLiveData;
import com.android.systemui.statusbar.notification.collection.NotifLiveDataStore;
import com.android.systemui.statusbar.notification.shared.NotificationsLiveDataStoreRefactor;

import org.junit.Before;
import org.junit.Test;
@@ -54,6 +56,7 @@ import java.util.Objects;
@SmallTest
@RunWith(AndroidTestingRunner.class)
@RunWithLooper
@DisableFlags(NotificationsLiveDataStoreRefactor.FLAG_NAME)
public class LegacyLightsOutNotifControllerTest extends SysuiTestCase {
    private static final int LIGHTS_ON = 0;
    private static final int LIGHTS_OUT = APPEARANCE_LOW_PROFILE_BARS;