diff options
author | Evan Rosky <erosky@google.com> | 2020-05-06 15:37:50 -0700 |
---|---|---|
committer | Evan Rosky <erosky@google.com> | 2020-05-06 16:03:11 -0700 |
commit | 89cfd63c1946b7444c0b897a9ff77e992b4db01b (patch) | |
tree | 9ab36c33d72c589bb77cb12c26bb5e97a2e318b1 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 794525fe4cb7a32e728314d6215b8f5f8359dbe7 (diff) |
Remove redundant primary-stack movement in start-from-recents
The createStack routines used by startActivity already handle
the case of converting WINDOWING_MODE_PRIMARY into move-to-
primary root-task. Doing that work in startActivityFromRecents
was redundant.
Additionally, because the recents version was executing before
the normal activity-start logic, it was making the new
activity visible before postStartActivityProcessing which is
supposed to run before the activity-start happens. It was
effectively starting the activity twice which is wrong and
also wasteful.
Bug: 154575664
Test: Alternate launch activity from recents into primary and
expand it to fullscreen repeatedly.
Change-Id: I5c6341f8589e8ac3ddd4afb728efd05bd9445945
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions