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

Commit eb9f3d34 authored by d34d's avatar d34d Committed by Gerrit Code Review
Browse files

LLS: Update LLS slide offsets when focus changes

Change-Id: If5da6e9aff440c25f507aff4d9b54c7f9f51a18d
TICKET: CYNGNOS-2557
parent 3e3f77dd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -231,6 +231,10 @@ public class LiveLockScreenController {
    public void onLiveLockScreenFocusChanged(boolean hasFocus) {
        if (hasFocus != mLlsHasFocus) {
            mLlsHasFocus = hasFocus;
            if (mLiveLockScreenView != null) {
                // make sure the LLS knows where the notification panel is
                mLiveLockScreenView.onLockscreenSlideOffsetChanged(hasFocus ? 0f : 1f);
            }
            // don't log focus changes when screen is not interactive
            if (mPowerManager.isInteractive()) {
                EventLog.writeEvent(EventLogTags.SYSUI_LLS_NOTIFICATION_PANEL_SHOWN,