Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a31841e authored by Adrian Roos's avatar Adrian Roos
Browse files

AOD: Prevent KeyguardAffordanceViews from triggering in doze

Fixes a bug where the the affordances on the keyguard could
be triggered on Ambient Display even though they were invisible.

Fixes: 34707183
Test: Enter Ambient Display, drag from bottom right corner. Nothing should happen.
Change-Id: I2deab6d006b645670038d7f658fb0361618b3a91
parent e31f30e9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -762,7 +762,8 @@ public class NotificationPanelView extends PanelView implements
        }
        if ((!mIsExpanding || mHintAnimationRunning)
                && !mQsExpanded
                && mStatusBar.getBarState() != StatusBarState.SHADE) {
                && mStatusBar.getBarState() != StatusBarState.SHADE
                && !mDozing) {
            mAffordanceHelper.onTouchEvent(event);
        }
        if (mOnlyAffordanceInThisMotion) {