Merge "Do stack collapse after stack reorder" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3ad3650181
@@ -1225,12 +1225,6 @@ public class BubbleController {
|
|||||||
mOverflowListener.applyUpdate(update);
|
mOverflowListener.applyUpdate(update);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Collapsing? Do this first before remaining steps.
|
|
||||||
if (update.expandedChanged && !update.expanded) {
|
|
||||||
mStackView.setExpanded(false);
|
|
||||||
mSysuiProxy.requestNotificationShadeTopUi(false, TAG);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Do removals, if any.
|
// Do removals, if any.
|
||||||
ArrayList<Pair<Bubble, Integer>> removedBubbles =
|
ArrayList<Pair<Bubble, Integer>> removedBubbles =
|
||||||
new ArrayList<>(update.removedBubbles);
|
new ArrayList<>(update.removedBubbles);
|
||||||
@@ -1307,6 +1301,11 @@ public class BubbleController {
|
|||||||
mStackView.updateBubbleOrder(update.bubbles);
|
mStackView.updateBubbleOrder(update.bubbles);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (update.expandedChanged && !update.expanded) {
|
||||||
|
mStackView.setExpanded(false);
|
||||||
|
mSysuiProxy.requestNotificationShadeTopUi(false, TAG);
|
||||||
|
}
|
||||||
|
|
||||||
if (update.selectionChanged && mStackView != null) {
|
if (update.selectionChanged && mStackView != null) {
|
||||||
mStackView.setSelectedBubble(update.selectedBubble);
|
mStackView.setSelectedBubble(update.selectedBubble);
|
||||||
if (update.selectedBubble != null) {
|
if (update.selectedBubble != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user