Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34e1af30 authored by Lyn Han's avatar Lyn Han
Browse files

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
parent 14d8e24f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */);
    }