QS: Fix clipped battery icon when expanded.
Change-Id: If5ad46b9f25e70af0e13654ce1137955eb87eec2
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user