Merge "Disable opening expanded QS from the lockscreen on large screen devices" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1574259ef2
@@ -2696,8 +2696,9 @@ public class NotificationPanelViewController extends PanelViewController {
|
||||
* @return Whether we should intercept a gesture to open Quick Settings.
|
||||
*/
|
||||
private boolean shouldQuickSettingsIntercept(float x, float y, float yDiff) {
|
||||
if (!isQsExpansionEnabled() || mCollapsedOnDown || (mKeyguardShowing
|
||||
&& mKeyguardBypassController.getBypassEnabled())) {
|
||||
if (!isQsExpansionEnabled() || mCollapsedOnDown
|
||||
|| (mKeyguardShowing && mKeyguardBypassController.getBypassEnabled())
|
||||
|| (mKeyguardShowing && mShouldUseSplitNotificationShade)) {
|
||||
return false;
|
||||
}
|
||||
View header = mKeyguardShowing || mQs == null ? mKeyguardStatusBar : mQs.getHeader();
|
||||
|
||||
Reference in New Issue
Block a user