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

Commit 2548c2a0 authored by John Spurlock's avatar John Spurlock Committed by Android Git Automerger
Browse files

am 4c9c84c5: am 79c0bf24: Merge "QS: Fix clipped battery icon when expanded." into lmp-dev

* commit '4c9c84c5d92de5aad51f753395343ee73bcd38a0':
  QS: Fix clipped battery icon when expanded.
parents 52feb10e aae32cfd
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -563,8 +563,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);
        }
    }