Don't set Taskbar window to non-fullscreen while folder animates closed

Test: Open an app, open a folder in taskbar, and drag an app from the folder. Ensure the folder close animation plays completely.
Fixes: 199954907
Change-Id: I1caec4ef24b5325724d74f10ddbeae6ef8f9e959
This commit is contained in:
Tony Wickham
2021-09-14 17:48:14 -07:00
parent 94c673c64d
commit d5e116a750
2 changed files with 17 additions and 3 deletions

View File

@@ -155,7 +155,7 @@ public class TaskbarDragLayerController {
* Called when a child is removed from TaskbarDragLayer.
*/
public void onDragLayerViewRemoved() {
if (AbstractFloatingView.getOpenView(mActivity, TYPE_ALL) == null) {
if (AbstractFloatingView.getAnyView(mActivity, TYPE_ALL) == null) {
mActivity.setTaskbarWindowFullscreen(false);
}
}