Merge "Fix media control flash when unlock device" into tm-qpr-dev am: b272ead9bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20519892 Change-Id: I87d203430a40617290c5a93de72f47618fb69a1a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -798,6 +798,16 @@ constructor(
|
|||||||
return true
|
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 (
|
if (
|
||||||
statusbarState == StatusBarState.KEYGUARD &&
|
statusbarState == StatusBarState.KEYGUARD &&
|
||||||
(currentLocation == LOCATION_LOCKSCREEN || previousLocation == LOCATION_LOCKSCREEN)
|
(currentLocation == LOCATION_LOCKSCREEN || previousLocation == LOCATION_LOCKSCREEN)
|
||||||
|
|||||||
Reference in New Issue
Block a user