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

Commit 990b7c48 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Do not stateIn on every getter access" into main

parents 33f8a600 fd90c7e4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -72,6 +72,6 @@ constructor(
                )
            }

    override val focusedDisplayId: StateFlow<Int>
        get() = focusedTask.stateIn(backgroundScope, SharingStarted.Eagerly, DEFAULT_DISPLAY)
    override val focusedDisplayId: StateFlow<Int> =
        focusedTask.stateIn(backgroundScope, SharingStarted.Eagerly, DEFAULT_DISPLAY)
}