Merge "Split-shade: show status bar earlier when closing shade" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0ddb66c913
@@ -4186,9 +4186,7 @@ public final class NotificationPanelViewController implements Dumpable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void updateStatusBarIcons() {
|
private void updateStatusBarIcons() {
|
||||||
boolean showIconsWhenExpanded =
|
boolean showIconsWhenExpanded = getExpandedHeight() < getOpeningHeight();
|
||||||
(isPanelVisibleBecauseOfHeadsUp() || mIsFullWidth)
|
|
||||||
&& getExpandedHeight() < getOpeningHeight();
|
|
||||||
if (showIconsWhenExpanded && isOnKeyguard()) {
|
if (showIconsWhenExpanded && isOnKeyguard()) {
|
||||||
showIconsWhenExpanded = false;
|
showIconsWhenExpanded = false;
|
||||||
}
|
}
|
||||||
@@ -4255,7 +4253,7 @@ public final class NotificationPanelViewController implements Dumpable {
|
|||||||
&& mHeadsUpAppearanceController.shouldBeVisible()) {
|
&& mHeadsUpAppearanceController.shouldBeVisible()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return !mIsFullWidth || !mShowIconsWhenExpanded;
|
return !mShowIconsWhenExpanded;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onQsPanelScrollChanged(int scrollY) {
|
private void onQsPanelScrollChanged(int scrollY) {
|
||||||
|
|||||||
Reference in New Issue
Block a user