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

Commit a749d232 authored by Michael Mikhail's avatar Michael Mikhail Committed by Automerger Merge Worker
Browse files

Merge "Fix media control flash when unlock device" into tm-qpr-dev am: b272ead9 am: a40fb535

parents 99c12773 a40fb535
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -798,6 +798,16 @@ constructor(
            return true
        }

        if (
            desiredLocation == LOCATION_QS &&
                previousLocation == LOCATION_LOCKSCREEN &&
                statusbarState == StatusBarState.SHADE
        ) {
            // This is an invalid transition, can happen when tapping on home control and the UMO
            // while being on landscape orientation in tablet.
            return false
        }

        if (
            statusbarState == StatusBarState.KEYGUARD &&
                (currentLocation == LOCATION_LOCKSCREEN || previousLocation == LOCATION_LOCKSCREEN)