Merge "Add a scrim to taskbar for bubbles expanded state" into sc-v2-dev

This commit is contained in:
Mady Mellor
2021-10-18 19:35:05 +00:00
committed by Android (Google) Code Review
6 changed files with 243 additions and 0 deletions

View File

@@ -224,6 +224,14 @@ public class TaskbarStashController {
return (flags & flagMask) != 0;
}
/**
* Returns whether the taskbar is currently visible and in an app.
*/
public boolean isInAppAndNotStashed() {
return !mIsStashed && (mState & FLAG_IN_APP) != 0;
}
public int getContentHeight() {
if (isStashed()) {
boolean isAnimating = mAnimator != null && mAnimator.isStarted();