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

Commit f13f49c5 authored by Shawn Lee's avatar Shawn Lee Committed by Android (Google) Code Review
Browse files

Merge "Mark shade header system icons as not clickable in non-large screen shade" into main

parents 7557d65c 9a2a7030
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -484,11 +484,13 @@ constructor(
        if (largeScreenActive) {
            logInstantEvent("Large screen constraints set")
            header.setTransition(LARGE_SCREEN_HEADER_TRANSITION_ID)
            systemIconsHoverContainer.isClickable = true
            systemIconsHoverContainer.setOnClickListener { shadeCollapseAction?.run() }
        } else {
            logInstantEvent("Small screen constraints set")
            header.setTransition(HEADER_TRANSITION_ID)
            systemIconsHoverContainer.setOnClickListener(null)
            systemIconsHoverContainer.isClickable = false
        }
        header.jumpToState(header.startState)
        updatePosition()