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

Commit 3d29c064 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 udc-qpr-dev

parents 05cdc649 023b7bc3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -479,11 +479,13 @@ constructor(
        if (largeScreenActive) {
            logInstantEvent("Large screen constraints set")
            header.setTransition(LARGE_SCREEN_HEADER_TRANSITION_ID)
            systemIcons.isClickable = true
            systemIcons.setOnClickListener { shadeCollapseAction?.run() }
        } else {
            logInstantEvent("Small screen constraints set")
            header.setTransition(HEADER_TRANSITION_ID)
            systemIcons.setOnClickListener(null)
            systemIcons.isClickable = false
        }
        header.jumpToState(header.startState)
        updatePosition()