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

Commit db469497 authored by Priyanka Advani (xWF)'s avatar Priyanka Advani (xWF) Committed by Android (Google) Code Review
Browse files

Revert "PerDisplayStore: remove CoreStartable implementation"

Revert submission 30466729

Reason for revert: Droidmonitor created revert due to b/380269649. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:30466729

Change-Id: I2e0d175751ceeb38bf8082da59978208d3eb23c5
parent 4dc2c2f1
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -42,6 +42,11 @@ class PerDisplayStoreImplTest : SysuiTestCase() {

    private val store = kosmos.fakePerDisplayStore

    @Before
    fun start() {
        store.start()
    }

    @Before
    fun addDisplays() = runBlocking {
        fakeDisplayRepository.addDisplay(createDisplay(DEFAULT_DISPLAY_ID))
+5 −0
Original line number Diff line number Diff line
@@ -41,6 +41,11 @@ class LightBarControllerStoreImplTest : SysuiTestCase() {

    private val underTest = kosmos.lightBarControllerStoreImpl

    @Before
    fun start() {
        underTest.start()
    }

    @Before fun addDisplays() = runBlocking { fakeDisplayRepository.addDisplay(DEFAULT_DISPLAY) }

    @Test
+5 −0
Original line number Diff line number Diff line
@@ -46,6 +46,11 @@ class MultiDisplayDarkIconDispatcherStoreTest : SysuiTestCase() {
    // Lazy so that @EnableFlags has time to run before underTest is instantiated.
    private val underTest by lazy { kosmos.multiDisplayDarkIconDispatcherStore }

    @Before
    fun start() {
        underTest.start()
    }

    @Before fun addDisplays() = runBlocking { fakeDisplayRepository.addDisplay(DEFAULT_DISPLAY) }

    @Test
+5 −0
Original line number Diff line number Diff line
@@ -41,6 +41,11 @@ class MultiDisplayStatusBarContentInsetsProviderStoreTest : SysuiTestCase() {
    private val fakeDisplayRepository = kosmos.displayRepository
    private val underTest = kosmos.multiDisplayStatusBarContentInsetsProviderStore

    @Before
    fun start() {
        underTest.start()
    }

    @Before fun addDisplays() = runBlocking { fakeDisplayRepository.addDisplay(DEFAULT_DISPLAY) }

    @Test
+5 −0
Original line number Diff line number Diff line
@@ -43,6 +43,11 @@ class MultiDisplayStatusBarModeRepositoryStoreTest : SysuiTestCase() {
    private val fakeDisplayRepository = kosmos.displayRepository
    private val underTest by lazy { kosmos.multiDisplayStatusBarModeRepositoryStore }

    @Before
    fun start() {
        underTest.start()
    }

    @Before fun addDisplays() = runBlocking { fakeDisplayRepository.addDisplay(DEFAULT_DISPLAY) }

    @Test
Loading