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

Commit c8bbaca3 authored by Danesh M's avatar Danesh M Committed by Danesh M
Browse files

Lockscreen : Only animate targets if launched via swipe

If launching via gesture or double tap of power button, showing the
reveal doesn't make much sense and creates visual jank. Only animate
for swipes.

Change-Id: I69e1d06c77c12fe39b5ddb01bcc22ed2fff2a9d0
parent 2e0fcdff
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2794,7 +2794,8 @@ public class NotificationPanelView extends PanelView implements
        // If we are launching it when we are occluded already we don't want it to animate,
        // nor setting these flags, since the occluded state doesn't change anymore, hence it's
        // never reset.
        if (!isFullyCollapsed()) {
        if (!isFullyCollapsed() && mLastCameraLaunchSource ==
                KeyguardBottomAreaView.CAMERA_LAUNCH_SOURCE_AFFORDANCE) {
            mLaunchingAffordance = true;
            setLaunchingAffordance(true);
        } else {