Merge "Check the bubble bar maximum so it is not cut off." into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
976ab5aebd
@@ -1229,6 +1229,11 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
|
||||
} else {
|
||||
taskbarWindowSize = deviceProfile.taskbarHeight + deviceProfile.getTaskbarOffsetY();
|
||||
}
|
||||
if (mBubbleControllers != null) {
|
||||
int bubbleBarMaxHeight = mBubbleControllers.bubbleBarViewController
|
||||
.getBubbleBarWithFlyoutMaximumHeight();
|
||||
taskbarWindowSize = Math.max(taskbarWindowSize, bubbleBarMaxHeight);
|
||||
}
|
||||
mActivity.setTaskbarWindowSize(taskbarWindowSize);
|
||||
mTaskbarNavButtonTranslationY.updateValue(-deviceProfile.getTaskbarOffsetY());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user