Merge "Fix media control flash when unlock device" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b272ead9bb
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user