commit | e4cf36fbd1ba3ec5e05c5df0421bb97b5f7f3ff0 | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Fri Jun 03 14:38:33 2016 -0700 |
committer | Chong Zhang <chz@google.com> | Fri Jun 03 14:38:33 2016 -0700 |
tree | 5b583e7d5df43678d667c9c996bb7fd83a6c4831 | |
parent | c0b602c441337f9597959a02262de525b1793a94 [diff] |
Check if task was top of stack before it's removed To decide if home stack should be brought foreward. If the app is finishing, it's no longer considered "running" and cleanUpActivityLocked could move focus to the activity below. Then removeActivityFromHistoryLocked would fail to bring front home stack as the removed task is no longer top. bug: 29030518 Change-Id: I887e7c226258651d887cb0a4a6c6caab0a04e6e6