commit | ddb96df9217d870a9d8efda98f0af666eda2b484 | [log] [tgz] |
---|---|---|
author | Filip Gruszczynski <gruszczy@google.com> | Sun Jan 17 09:12:31 2016 -0800 |
committer | Filip Gruszczynski <gruszczy@google.com> | Sun Jan 17 09:14:57 2016 -0800 |
tree | 2c5750c087a1c0b76397f14b99fb942905a9d069 | |
parent | e5480cc52a001eb550e29a7ae9b9687147ac0726 [diff] |
Fix NPE when checking if recents should be launched in docked mode. In some cases the activity starting method might return early with positive return code, even though it skipped doing most of the work and the target stack is not set. We need to protect ourselves from an NPE in that case. Bug: 26541093 Change-Id: I7227ad8efa30c52dd8178ad3c9d8b2263c89a74f