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

Commit edf01853 authored by d34d's avatar d34d
Browse files

SysUI/LLS: Slide panel out when collapse called

The actions performed when collapseNotificationPanel is called
needed to be updated with the introduction of the new sliding
notification panel UX.

Change-Id: I5914242cf9586b49f90ee51db5e64ef2a0b27397
TICKET: CYNGNOS-2354
parent 4feb6b26
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2811,4 +2811,8 @@ public class NotificationPanelView extends PanelView implements
        List<ActivityManager.RunningTaskInfo> tasks = am.getRunningTasks(1);
        return !tasks.isEmpty() && pkgName.equals(tasks.get(0).topActivity.getPackageName());
    }

    public void slideLockScreenOut() {
        mSwipeCallback.onChildDismissed(this);
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ public class LiveLockScreenController {
                mHandler.post(new Runnable() {
                    @Override
                    public void run() {
                        mBar.focusKeyguardExternalView();
                        mPanelView.slideLockScreenOut();
                    }
                });
            }