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

Commit a166867e authored by Robert Horvath's avatar Robert Horvath Committed by Automerger Merge Worker
Browse files

Merge "Change PiP stash scoring to distance moved" into tm-dev am: 85c6db27

parents 05dee1e3 85c6db27
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -416,7 +416,7 @@ class TvPipKeepClearAlgorithm(private val clock: () -> Long) {
        return stashCandidates.minByOrNull {
            val dx = abs(it.left - bounds.left)
            val dy = abs(it.top - bounds.top)
            dx * bounds.height() + dy * bounds.width()
            return@minByOrNull dx + dy
        }!!
    }