commit | 4ac2a58e52fdd69d81e3e2cbf3fdde685f5467f9 | [log] [tgz] |
---|---|---|
author | Andrii Kulian <akulian@google.com> | Fri Mar 25 00:07:38 2016 -0700 |
committer | Andrii Kulian <akulian@google.com> | Fri Mar 25 12:45:45 2016 -0700 |
tree | 2d19635baafa498858fd03d71d52a6d8fcca513e | |
parent | 822de0d90cb4d76d5a8bd655f3c9a94f9bc25d7a [diff] |
Improve stack selection logic during adjacent launch Adds handling for some cases when activity is launched with flags FLAG_ACTIVITY_LAUNCH_ADJACENT and FLAG_ACTIVITY_NEW_TASK. - If target activity is not in focused stack - use current parent stack. - If target activity is already on top of focused task - use focused stack. - If task is in focused stack but not on top - move to adjacent stack. Bug: 27729085 Change-Id: I2041a46056f880dc0ff61b2b7c384c7297a69479