commit | 92b7b659393c79d5eb2ee962abaffdcc64b20790 | [log] [tgz] |
---|---|---|
author | Bryce Lee <brycelee@google.com> | Mon Apr 03 08:33:11 2017 -0700 |
committer | Bryce Lee <brycelee@google.com> | Tue Apr 04 14:45:26 2017 -0700 |
tree | 80beffaa6a01312528f4e9dad016436a7d775f31 | |
parent | d2778f32e2ca4f81fd8a2ea39e567db6bb035f92 [diff] |
Do not try to restore a task id if it does not exist. Previously, we were trying to restore the recent task regardless of if it was found in recents or a stack. This would lead to referencing a null object later. Change-Id: I014a751d3254ad267c32ac0b54783b31b8d17e93 Test: bit FrameworksServicesTests:com.android.server.am.ActivityStackSupervisorTests Fixes: 36688598