Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelViewController.java +6 −0 Original line number Diff line number Diff line Loading @@ -396,6 +396,12 @@ public abstract class PanelViewController { expand = false; } else if (onKeyguard) { expand = true; } else if (mKeyguardStateController.isKeyguardFadingAway()) { // If we're in the middle of dismissing the keyguard, don't expand due to the // cancelled gesture. Gesture cancellation during an unlock is expected in some // situations, such keeping your finger down while swiping to unlock to an app // that is locked in landscape (the rotation will cancel the touch event). expand = false; } else { // If we get a cancel, put the shade back to the state it was in when the // gesture started Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelViewController.java +6 −0 Original line number Diff line number Diff line Loading @@ -396,6 +396,12 @@ public abstract class PanelViewController { expand = false; } else if (onKeyguard) { expand = true; } else if (mKeyguardStateController.isKeyguardFadingAway()) { // If we're in the middle of dismissing the keyguard, don't expand due to the // cancelled gesture. Gesture cancellation during an unlock is expected in some // situations, such keeping your finger down while swiping to unlock to an app // that is locked in landscape (the rotation will cancel the touch event). expand = false; } else { // If we get a cancel, put the shade back to the state it was in when the // gesture started Loading