Mark accessed time to promote overflow bub to stack

Fixes: 158773176
Test: manual
        1) Have 5 bubbles in stack and some in overflow
        2) Tap overflow bubble
           => See that it is now first (left) in stack
           => Oldest stack bubble gets overflowed
Change-Id: I88f641aeeee307b952cc123619cc8507c27ada9a
This commit is contained in:
Lyn Han
2020-06-11 12:55:13 -07:00
parent 14d8e24fef
commit 34e1af3090

View File

@@ -911,7 +911,7 @@ public class BubbleController implements ConfigurationController.ConfigurationLi
mLogger.log(bubble, BubbleLogger.Event.BUBBLE_OVERFLOW_REMOVE_BACK_TO_STACK);
bubble.setInflateSynchronously(mInflateSynchronously);
bubble.setShouldAutoExpand(true);
bubble.markUpdatedAt(System.currentTimeMillis());
bubble.markAsAccessedAt(System.currentTimeMillis());
setIsBubble(bubble, true /* isBubble */);
}