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

Commit 2eec8fe5 authored by John Spurlock's avatar John Spurlock
Browse files

QS: Fix clipped battery icon when expanded.

Change-Id: If5ad46b9f25e70af0e13654ce1137955eb87eec2
parent 866cf65c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -553,8 +553,9 @@ public class StatusBarHeaderView extends RelativeLayout implements View.OnClickL
        }

        public void update() {
            final boolean onKeyguardAndCollapsed = mKeyguardShowing && !mExpanded;
            mSystemIconsContainer.setClipBounds(onKeyguardAndCollapsed ? null : mClipBounds);
            final boolean collapsedKeyguard = mKeyguardShowing && !mExpanded;
            final boolean expanded = mExpanded && !mOverscrolled;
            mSystemIconsContainer.setClipBounds(collapsedKeyguard || expanded ? null : mClipBounds);
        }
    }