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

Commit 7628dc3a authored by Ibrahim Yilmaz's avatar Ibrahim Yilmaz
Browse files

[KeyguardMediaController] Fix activeContainer logs

We had a field named activeContainer in KeyguadMediaController which is only used for logActiveMediaContainer.
As this field is not calculated field. We see its value is null in logs which might cause us to draw wrong conclusions. This CL fix this.

Bug: 298213983
Test: BR
Flag: NONE
Change-Id: I352bf6c9f8b6d263c8dcb0129af0e43a14013e05
parent 1265dc50
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -297,6 +297,7 @@ constructor(
        }
    }

    private val activeContainer: ViewGroup? =
        if (useSplitShade) splitShadeContainer else singlePaneContainer
    // This field is only used to log current active container.
    private val activeContainer: ViewGroup?
        get() = if (useSplitShade) splitShadeContainer else singlePaneContainer
}