Made the drag down anywhere on lockscreen go to the shade locked am: 5f1fb46ed9
am: 92f3111d3f
Change-Id: I22ff0f44d0d548a46d4d54f7c7cb0987e272f9cc
This commit is contained in:
@@ -1967,7 +1967,8 @@ public class NotificationPanelView extends PanelView implements
|
||||
* @return Whether we should intercept a gesture to open Quick Settings.
|
||||
*/
|
||||
private boolean shouldQuickSettingsIntercept(float x, float y, float yDiff) {
|
||||
if (!mQsExpansionEnabled || mCollapsedOnDown) {
|
||||
if (!mQsExpansionEnabled || mCollapsedOnDown
|
||||
|| (mKeyguardShowing && mKeyguardBypassController.getBypassEnabled())) {
|
||||
return false;
|
||||
}
|
||||
View header = mKeyguardShowing || mQs == null ? mKeyguardStatusBar : mQs.getHeader();
|
||||
|
||||
@@ -419,7 +419,7 @@ public class StatusBarWindowView extends FrameLayout {
|
||||
if (mNotificationPanel.isFullyExpanded()
|
||||
&& mStatusBarStateController.getState() == StatusBarState.KEYGUARD
|
||||
&& !mService.isBouncerShowing()
|
||||
&& (!mBypassController.getBypassEnabled() || mNotificationPanel.isQsExpanded())
|
||||
&& !mBypassController.getBypassEnabled()
|
||||
&& !mService.isDozing()) {
|
||||
intercept = mDragDownHelper.onInterceptTouchEvent(ev);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user