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

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

Merge "Avoid instantiating DisplayWindowPropertiesRepository when...

Merge "Avoid instantiating DisplayWindowPropertiesRepository when ShadeWindowGoesAround is off" into main
parents 35aee866 0286f299
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -68,7 +68,12 @@ constructor(
    }

    override val context: Context
        get() = getContextOrDefault(shadeDisplayId)
        get() =
            if (!ShadeWindowGoesAround.isEnabled) {
                defaultContext
            } else {
                getContextOrDefault(shadeDisplayId)
            }

    private val shadeDisplayId: Int
        get() =