diff options
author | Evan Rosky <erosky@google.com> | 2020-04-14 16:43:30 +0000 |
---|---|---|
committer | Evan Rosky <erosky@google.com> | 2020-04-14 16:45:13 +0000 |
commit | d6c1df8e0218b883286b05a073fd4cfee1734472 (patch) | |
tree | c1aef45236ad144439fa8b1c4403446a60127017 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 4c90702962f67e975916ccfba2f0c89d48bfc7da (diff) |
Revert^2: Expand minimized split stack on relaunch-attempt
If a relaunch-attempt is made on the app in a minimized
primary-split, just expand it. This way its clear to the user
what happened and is much closer to their intent. Previously,
this was just opening recents; however, that doesn't make sense
for pixel launcher (which remains in minimized-dock even with
recents active) because the actual launched-app is still
not-focusable and partially obscured.
Also, modified the restart-attempt logic to directly check if
divider is minimized rather than homeTaskVisible since that is
semantically what matters.
Bug: 152772854
Test: Open an app into split-screen primary with launcher in
secondary. Then launch the same app from launcher.
Change-Id: I45b80ee8b8596a2a4e2e9cd91624398beaed20bd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions