Merge "Hide taskbar background when notification shade is expanded" into sc-v2-dev

This commit is contained in:
Tony Wickham
2021-10-26 02:56:47 +00:00
committed by Android (Google) Code Review
4 changed files with 49 additions and 20 deletions

View File

@@ -115,16 +115,6 @@ public class TaskbarViewController {
mTaskbarView.setTouchesEnabled(!isImeVisible);
}
/**
* Should be called when the notification shade is expanded, so we can hide taskbar icons as
* well. Note that we are animating icons to appear / disappear.
*/
public void setNotificationShadeIsExpanded(boolean isNotificationShadeExpanded) {
mTaskbarIconAlpha.getProperty(ALPHA_INDEX_NOTIFICATION_EXPANDED)
.animateToValue(isNotificationShadeExpanded ? 0 : 1)
.start();
}
/**
* Should be called when the recents button is disabled, so we can hide taskbar icons as well.
*/