commit | 564bda762193e077d0a71a0640aa04965740498d | [log] [tgz] |
---|---|---|
author | Mady Mellor <madym@google.com> | Wed Nov 20 15:44:19 2024 -0800 |
committer | Mady Mellor <madym@google.com> | Wed Nov 20 15:44:19 2024 -0800 |
tree | 957d4e46e04eb0868bdd4164d22b97f166c9f9de | |
parent | 7c7a16a5cf6ca91a0ccf53d97610db8eada37338 [diff] |
Fix small issue where overflow expanded view wouldn't show Small regression from ag/30408723; don't need to wait for taskview to be visible if it's the overflow view. Flag: com.android.wm.shell.enable_bubble_bar Test: manual - navigate to bubble overflow in bar mode Bug: 374640759 Change-Id: I4ee92263ed7373dd9e9cc356e4b6bbf8b0883635
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarExpandedView.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarExpandedView.java index 9fe7a97..ed49417 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarExpandedView.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/BubbleBarExpandedView.java
@@ -402,7 +402,7 @@ } void animateExpansionWhenTaskViewVisible(Runnable animateExpansion) { - if (mVisibilityState == TaskViewVisibilityState.VISIBLE) { + if (mVisibilityState == TaskViewVisibilityState.VISIBLE || mIsOverflow) { animateExpansion.run(); } else { mAnimateExpansion = animateExpansion;