diff options
author | Lyn Han <lynhan@google.com> | 2020-03-31 22:13:34 -0700 |
---|---|---|
committer | Lyn Han <lynhan@google.com> | 2020-04-02 13:31:08 -0700 |
commit | b9be52dc69fff3dd819f3aa94fec69af5657b039 (patch) | |
tree | 76106c36249ec22866c9feaa15d52163dde3bfc5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0bf55d7d28f66537e582d5ee76d484316e00a99e (diff) |
Show selected bubble first, after stack expands
When the stack collapses, BubbleData moves the selected bubble
to first in stack, but marks accessed time instead of updated time.
Sorting uses updated time (in repackAll) and moves the selected bubble
back to where it was, when the stack expands later.
Fixed by marking updated time in addition to accessed time.
Fixes: 152883409
Test: manual: select bubble in middle of stack, collapse stack, expand
stack -> see that bubble first in stack
Test: manual: select bubble in middle of stack, collapse stack, add new
bubble, expand stack -> see that new bubble is first in stack
and previously selected bubble is repacked
Change-Id: I8042549708ba3ace13d94e9cd3397af229af2dc9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions