commit | 0570605e1045375348f26471d90d83694fd58018 | [log] [tgz] |
---|---|---|
author | Ats Jenk <atsjenk@google.com> | Thu Jan 09 08:48:14 2025 -0800 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Jan 09 08:48:14 2025 -0800 |
tree | 568edcd421eeffd35188b3e93be7907bfdc0fa77 | |
parent | 753229687e6db861302a7ff240e23c0238fb6dd1 [diff] | |
parent | f67cfbe6ac9c0a769f0f15af4f0e79e5960b94ba [diff] |
Merge "Use bubble count for checking if bubble bar has bubbles" into main
diff --git a/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewController.java b/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewController.java index 5685093..84243f5 100644 --- a/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewController.java +++ b/quickstep/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewController.java
@@ -481,7 +481,7 @@ /** Whether the bubble bar has bubbles. */ public boolean hasBubbles() { - return mBubbleBarController.getSelectedBubbleKey() != null; + return mBarView.getBubbleChildCount() > 0; } /**