summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2019-04-24 23:55:11 +0800
committerRiddle Hsu <riddlehsu@google.com>2019-05-04 03:50:32 +0800
commit43233b72acba8ad4554501cd4f5a7860d9a009fd (patch)
tree43d7fdf38855fbfd9cdf3c7be0e4404b092f59bd /tools/aapt2/java/JavaClassGenerator_test.cpp
parentb037feb130fdbf6c761e03fc04b7733502fab0b3 (diff)
Fix mLaunchTaskBehind is not restored when canceling recents
If a 3rd party launcher is set as default home, when pressing home button to go back from app, the launch-behind of recents activity will be set. And then 3rd party launcher will move to top that triggers stack order changed to cancel the recents. That includes to restore launch-behind but the current top is not the original one that was set. So there are 2 activities show at the same time. With storing the original target activity, we are able to restore the launch-behind state correctly. Bug: 131589476 Test: atest RecentsAnimationTest#testSetLaunchTaskBehindOfTargetActivity Change-Id: Ib923492bb6263482fa22bd031a716b48ded20f91
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions